C++
void assertNotifyEnabled() const;
Description
This function is used only inside of member functions of classes derived from AcDbObject. It should be used inside of member functions that are only called when the object is open kForNotify. When used, it should be the first function called inside the member function.
Note
This function is primarily used by AutoCAD and ObjectARX. It is normally not used by ObjectARX applications except within networks of objects which utilize the AcDb::kForNotify mode to open and notify each other of necessary events, regardless of clients currently reading or writing the object..
If this function is called while the object is not open AcDb::kForNotify, AutoCAD terminates (allowing the user to save changes).