API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::disableUndoRecording Method
OdDgElement::disableUndoRecording Method
Syntax
C++
void disableUndoRecording(bool disable);
Parameters 
Description 
bool disable 
[in] Boolean to control undo recording. 

Controls the undo recording of this object in OdDgDatabase. 

 

Disabling undo recording does not erase the undo recording; it merely suspends it. Undo recording is initially off for newly created OdDbDatabase objects.

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