AcMapMbMapSheetTemplate::CloneLayout Method

Land Desktop Development ARX CPP SDK

AcMapMbMapSheetTemplate:: CloneLayout Method
 

Clones the layout specified by the settings object from the template drawing to the target drawing.

virtual Acad::ErrorStatus CloneLayout(
    AcDbDatabase* pTargetDb, 
    const ACHAR* pszDestinationName, 
    AcDbIdMapping& idMapping
) const;
Parameters 
Description 
pTargetDb 
Input targe drawing database.  
pszDestinationName 
Input name to be assigned to the cloned layout in the destination database.  
idMapping 
Input after cloning contains mapping between template database and destination database Ids.  
Returns

Returns Acad::eOk if successful; otherwise, returns a different error code.

Remarks

The specified name gets assigned to the layout in the destination drawing.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].