C++
virtual ACDBCORE2D_PORT Acad::ErrorStatus wblockClone( AcRxObject* pOwnerObject, AcDbObject*& pClonedObject, AcDbIdMapping& idMap, bool isPrimary = true ) const;
Description
This function is almost identical to AcDbObject::deepClone, except that an AcDbWblockCloneFiler is used and ownership is not carried across database boundaries. Subcloning is based on hard owner and hard pointer connections.
Parameters
Parameters | Description |
---|---|
pOwnerObject | Input object to which the clones should be appended. If the owner has not been cloned, then the AcDbDatabase must be passed in. |
pClonedObject | Returns 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 wblockClone(AcRxObject* pOwnerObject, AcDbObject*& pClonedObject, AcDbIdMapping& idMap, Adesk::Boolean isPrimary = true) const;