API Reference > OdDb Classes > OdDbObjectOverrule Class > OdDbObjectOverrule Methods > OdDbObjectOverrule::erase Method
OdDbObjectOverrule::erase Method
Syntax
C++
virtual OdResult erase(OdDbObject* pSubject, bool erasing);
Parameters 
Description 
OdDbObject* pSubject 
[in] A raw pointer to an object.  
bool erasing 
[in] An erase status mode that was passed in the erase() method. 

Overrules the OdDbObject::subErase() method and calls it in the default implementation. This method returns eOk if successful. 

 

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