API Reference > OdDg Classes > OdDgDatabaseReactor Class > OdDgDatabaseReactor Methods > OdDgDatabaseReactor::elementErased Method
OdDgDatabaseReactor::elementErased Method
Syntax
C++
virtual void elementErased(const OdDgDatabase* pDb, const OdDgElement* pElement, bool erased = true);
Parameters 
Description 
const OdDgDatabase* pDb 
[in] Pointer to the database being modified.  
const OdDgElement* pElement 
[in] Pointer to the object being modified.  
bool erased = true 
[in] True if and only if the object is being erased. 

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

 

This function is called after the operation.

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