Go to: Synopsis. Return value. Related. Python examples.
redo()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
redo is undoable, NOT queryable, and NOT editable.
Takes the most recently undone command from the undo list and redoes it.None
import maya.cmds as cmds # In this particular example, each line needs to be executed # separately one after the other. Executing lines separately # guaranties that commands are properly registered in the undo # stack. cmds.polyCube() # Result: [u'pCube1', u'polyCube1'] # cmds.undo() # Undo: cmds.polyCube() # cmds.redo() # Redo: cmds.polyCube() # # Result: [u'pCube1', u'polyCube1'] #