AcMapDMMapManager:: wblockCloneObjects Method
Deep clones the specified objects and appends them to the specified container. The objects can come from multiple source databases, and must match the type of owner specified, but must be from a different database than the ownerId object. See also wblockCloneObjects() in the AutoCAD ObjectARX Developer's Guide. This overloaded function is called by the system as needed; it is unlikely that you will need to call it directly.
static Acad::ErrorStatus wblockCloneObjects( AcDbObjectIdArray& objectIds, AcDbObjectId& ownerId, AcDbIdMapping& idMap, AcDb::DuplicateRecordCloning drc, bool deferXlation = false );
Parameters |
Description |
objectIds |
Input array of IDs of objects to clone. This array can contain only AcMapDMItem-derived objects (AcMapDmElement and AcMapDMGroup instances, for example). |
ownerId |
Input ID of the container object that will own the clones. This ID can refer to only an AcMapDMGroup-derived object in the destination database. |
idMap |
Input array of AcDbIdPair objects to use to translate object ID relationships. |
drc |
Input action for duplicate records. |
deferXlation |
Input true to defer ID translation. The default value is false. |
Returns
Returns Acad::eOk if successful; otherwise, returns a different error code.
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].