Share

AcDbObject::erase

C++

Acad::ErrorStatus erase(
    Adesk::Boolean erasing = true
);

Description

Sets the erase bit of the object. If erasing == Adesk::kTrue, then the erase bit is set on. If erasing == Adesk::kFalse, then the erase bit is set off.

Note

This does not remove the object from the database, nor from memory. However, if the erase bit is set when the database is saved or output to DXF, the object is not filed out and thus is not present the next time the file is opened.

Parameters

Parameters Description
erasing Input Boolean indicating if object is to be erased or unerased

Links

AcDbObject

Was this information helpful?