C++
void beginDeepCloneXlation( AcDbIdMapping&, Acad::ErrorStatus* ) override;
Description
A deep clone operation has two stages. First, each object and any owned objects are cloned. Second, any object ID references are translated to their cloned IDs. This callback is made between these two stages. It is possible, during this callback, to do additional cloning and to add object IDs to idMap.
Note that all cloned objects at this point have their AcDbObjectIdsInFlux. Object ID references still point to the original reference IDs (that is, they have not yet been updated) and should not be used in any operations on those objects.
If pRetStatus is set to anything other than Acad::eOk, then the deepClone operation is terminated. This leaves objects in whatever state they are in when the termination occurs (that is, there will be no cleanup).
Parameters
| Parameters | Description |
|---|---|
| unnamed1 | Passed in object ID map, which at this point contains the entire set of objects that have been operated on |
| unnamed2 | Passed in pointer to the return error status; if this value is set to any error code other than Acad::eOk, the deep clone operation is terminated |