AddMarker ()
Add a marker to the database for undo/redo.
Usage
AddMarker( tag, state = None )
Parameters
- tag (integer)
- The tag that is added to the database.
- state (tuple)
- The information which is needed for refreshing the Undo action.
Return Value
None
Errors
The tag should be valid and exist.
Description
changeInfo = ( item.name, )
AddMarker( tag = UndoTags.UNDO_TAG_NEW_GLOBAL, state = changeInfo )