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

Notification function called whenever an element 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.