API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > OdDgDatabase::disableUndoRecording Method
OdDgDatabase::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 OdDbDatabase. 

 

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.