C++
virtual ACDBCORE2D_PORT void unappended( const AcDbObject* dbObj );
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 Undo processes the appending of the object to a database. The object itself is not removed from the database, but rather is marked as erased. Applications are then free to unerase it back into existence, even after Undo has come to rest at an event juncture that occurred before the object was initially appended to the database. When this function is called, dbObj points to the object sending the notification. The sending object is open in a read-only state.
Parameters
Parameters | Description |
---|---|
dbObj | Passed in pointer to object that has been removed from the database |