C++
void disableUndoRecording( bool disable );
Description
This function turns Undo recording on or off for operations performed on the database. If disable==Adesk::kTrue, then Undo recording is turned off. If disable==Adesk::kFalse, then Undo recording is turned on. If Undo recording is already set to what disable is specifying, then the call is ignored.
This function does not erase any existing Undo information. It only turns the Undo recorder on and off for the database.
Note
Newly created AcDbDatabase objects have Undo turned off. A call to this function with an Adesk::kFalse argument is necessary to enable the Undo recording in AcDbDatabase.
Parameters
Parameters | Description |
---|---|
disable | Input Boolean indicating turn Undo on or off |