Share

AcDbDatabase::markObjectNonPersistent

C++

static Acad::ErrorStatus markObjectNonPersistent(
    AcDbObjectId id, 
    bool value
);

Description

Marks an object non-persistent or persistent. Objects in the drawing database are persistent by default (if they have an owner). This function allows objects to be marked non-persistent.

Returns Acad::eNullObjectId if id is AcDbObject::kNull. May return any value returned by the acdbOpenObject() global function. Note that this function does not return an error if the object is already in the requested state.

Parameters

Parameters Description
id Input ID of the object to be modified
value Input true to make the object non-persistent, or false to make it persistent

Links

AcDbDatabase Class

Was this information helpful?