Share

AcDbObjectPointer::AcDbObjectPointer

C++

AcDbObjectPointer(
    AcDbObjectId objId, 
    AcDb::OpenMode mode = AcDb::kForRead, 
    bool openErased = false
);

Description

Opens the object objId with the specified mode. In effect, this function has the same effect as calling acdbOpenObject.

Parameters

Parameters Description
objId Input object ID of the object to open
mode Input mode in which to open the object
openErased Input Boolean indicating if it's OK to open an erased object

Previous Declaration

AcDbObjectPointer(

AcDbObjectId objId,

AcDb::OpenMode mode ,

bool openErased = false

);

Links

AcDbObjectPointer

Was this information helpful?