C++
void erased( const AcDbObject* dbObj, Adesk::Boolean pErasing = true ) override;
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 had its erase bit toggled and is now in the process of being closed . When this function is called, dbObj points to the object sending the notification. The sending object is open in a read-only state. If erasing == Adesk::kTrue then the object is being erased. If erasing == Adesk::kFalse, then the object is being unerased.
Parameters
Parameters | Description |
---|---|
dbObj | Passed in pointer to object whose erased() member has been called |
bErasing | Passed in Boolean indicating whether DbObj is being erased or unerased |
Links
Previous Declaration
virtualvoid erased(
const AcDbObject* dbObj,
Adesk::Boolean pErasing
);