C++
virtual ACDBCORE2D_PORT Acad::ErrorStatus deepClone( AcDbObject* pOwnerObject, AcDbObject*& pClonedObject, AcDbIdMapping& idMap, bool isPrimary = true ) const;
Description
This function gives control of deep clone operations to the object. In the default implementation, the object is cloned and appended to the owner object (pOwnerObject). The cloning is performed by an AcDbDeepCloneFiler. A record is also added to the idMap. Then, using the filer, any owned objects are deep cloned, with isPrimary set to Adesk::kFalse.
Parameters
Parameters | Description |
---|---|
pOwnerObject | Input object to which the clones should be appended |
pClonedObject | Returns a pointer to the cloned object, or NULL if not cloned |
idMap | Input current object ID map |
isPrimary | Input Boolean indicating whether this object is primary or owned |
Remarks
Virtual method for callers who pass an AcDbObject pointer.
Links
Previous Declaration
ACDBCORE2D_PORT ADESK_SEALED_VIRTUAL Acad::ErrorStatus deepClone(AcDbObject* pOwnerObject, AcDbObject*& pClonedObject, AcDbIdMapping& idMap, Adesk::Boolean isPrimary = true) const;