Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

redo

redo is undoable, NOT queryable, and NOT editable.

Takes the most recently undone command from the undo list and redoes it.

Return value

None

Related

flushUndo, undo, undoInfo

MEL examples

// 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.

polyCube;
// Result: pCube1 polyCube1 //

undo;
// Undo: polyCube; //

redo;
// Redo: polyCube; //
// Result: pCube1 polyCube1 //