API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::subErase Method
OdDbViewport::subErase Method
Syntax
C++
OdResult subErase(bool erasing);
Parameters 
Description 
bool erasing 
[in] A copy of the erasing argument passed to erase(). 

eOk if erase() is to continue.

Called as the first operation when this object is being erased or unerased. 

 

This function is notified just before the current object is to be erased, giving this function the ability to cancel the erase.

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