Share

revertAcDbObjectFromWrite Function

C++

ACDBCORE2D_PORT Acad::ErrorStatus revertAcDbObjectFromWrite(
    AcDbObject * pObj, 
    Acad::ErrorStatus accessStatus, 
    bool bWasNotifyEnabled, 
    bool bWasWriteEnabled, 
    int readCountClosed
);

File

dbobjptr2.h

Description

For Internal Use Only. New callers should use AcDbSmartObjectPointer.

Reverses the actions performed in accessAcDbObjectForWrite. The like-named parameters should have the values returned by accessAcDbObjectForWrite. accessStatus should have the status returned by accessAcDbObjectForWrite.

Should always return the value passed into the accessStatus parameter. It should be eOk, or else the initial object access failed

Parameters

Parameters Description
pObj Input object pointer
accessStatus Status returned from prior call to accessAcDbObjectForWrite
bWasNotifyEnabled Flag returned from prior call to accessAcDbObjectForWrite
bWasWriteEnabled Flag returned from prior call to accessAcDbObjectForWrite
readCountClosed Flag returned from prior call to accessAcDbObjectForWrite

Was this information helpful?