API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::erased Method
OdDbObject::erased Method
Syntax
C++
virtual void erased(const OdDbObject* pObject, bool erasing = true);
Parameters 
Description 
const OdDbObject* pObject 
[in] Pointer to the object that was erased/unerased.  
bool erasing = true 
[in] True if and only if this object is being erased. 

Notification function called whenever an object has been erased or unerased. 

 

The default implementation of this function does nothing. This function can be overridden in custom classes.

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