Share

AcDbObject::openedForModify

C++

virtual ACDBCORE2D_PORT void openedForModify(
    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 the object sending notification was opened for write, and one of its member functions was called, which in turn called assertWriteEnabled() with its recordModify argument set to Adesk::kTrue.

When this function is called, dbObj points to the object sending the notification. The sending object is open in a read-only state (its open status is downgraded to read-only while it's sending notification), and no modifications have been made to it yet.

Parameters

Parameters Description
dbObj Passed in pointer to object that has been opened for write

Links

AcDbObject

Was this information helpful?