Undo

Introduced

4.2

Description

Undoes the last undoable command in the command stack. This is the scripting equivalent of selecting Undo from the main Edit menu or pressing Ctrl+Z in the user interface.

Warning: Don't call this command to undo changes to scene data from a custom command. Custom commands are only allowed to use the Undo and Redo commands for user data. For more information, see Undoing and Redoing Custom Commands.

Scripting Syntax

Undo( [Repetitions] )

Parameters

Parameter

Type

Description

Repetitions [in/out]

Integer

Number of times to undo. May stop earlier if there are no more commands to undo.

Default Value: 1

See Also

Redo

Examples

• See Undo.1.vbs



Autodesk Softimage 2011