Share

AcDbObject::copied

C++

virtual ACDBCORE2D_PORT void copied(
    const AcDbObject* dbObj, 
    const AcDbObject* newObj
);

Description

This is one of the persistent reactor notification functions that can be overridden in a custom class derived from AcDbObject. The default implementation for this function is a return, so unless it is overridden it does nothing.

This particular function is called whenever the object sending notification has been copied (that is, its clone() member function has been called) and is now in the process of being closed. When this function is called, dbObj points to the object sending the notification and newObj points the newly made copy. Both objects are open in a read-only state.

Parameters

Parameters Description
dbObj Passed in pointer to object whose copied() member has been called
newObj Passed in pointer to new object resulting from the copy operation

Links

AcDbObject

Was this information helpful?