C++
ACDBCORE2D_PORT Acad::ErrorStatus accessAcDbObjectForWrite( AcDbObject * pObj, bool & bWasNotifyEnabled, bool & bWasWriteEnabled, int & readCountClosed, bool openOnLockedLayer );
File
dbobjptr2.h
Description
For Internal Use Only. New callers should use AcDbSmartObjectPointer
Returns Acad::eOk if successful. Otherwise, it could be eWrongObjectType , eNotThatKindOfClass, eWasErased, or ePermanentlyErased. If the return status is eOk, then one should call revertAcDbObjectForWrite with all the parameter values returned from this call to ensure proper reversal of the changed open.
Parameters
Parameters | Description |
---|---|
pObj | Input object pointer; object should already be opened for read and/or notify |
bWasNotifyEnabled | Output boolean indicating whether the object passed in was already open for notify |
bWasWriteEnabled | Output boolean indicating whether the object passed in was already open for write |
readCountClosed | Output integer indicating the number of readers which were in effect before this call |
openOnLockedLayer | _nt_ |