API Reference > OdDg Classes > OdDgElementReactor Class > OdDgElementReactor Methods > OdDgElementReactor::erased Method
OdDgElementReactor::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–2020. Open Design Alliance. All rights reserved.