API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::erase Method
OdDbObject::erase Method
Syntax
C++
OdResult erase(bool eraseIt = true);
Parameters 
Description 
bool eraseIt = true 
[in] Boolean to specify if object is to be erased or unerased. 

Sets the erased mode of this object. 

 

Erased objects are not deleted from the database or from memory. 

Erased objects are not filed when the database is saved or sent to a DXF file.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.