The IDLitManipulator::CommitUndoValues function method is used to complete a transaction that is occurring as a result of the manipulator interaction. This method works in conjunction with the RecordUndoValues method.
When a manipulator interaction is complete, the manipulator should call this method, which in turn calls the RecordFinalValues method of the operation associated with the manipulator. The RecordFinalValues method records any information needed to undo the operation and places the information in the iTool's undo-redo transaction buffer.
For interactive manipulators, the CommitUndoValues method should be called by the OnMouseUp method.
| Note |
Result = Obj->[IDLitManipulator::]CommitUndoValues([/UNCOMMIT])
Returns 1 if the commit was successful, or 0 otherwise.
None
Set this keyword to discard any pending information from a previous call to RecordUndoValues. The interaction is not recorded in the iTool's undo-redo transaction buffer.
Introduced: 6.0