移動先: 概要 戻り値 関連項目 MEL の例

概要

redo

redo は「元に戻す」が可能、「照会」が不可能「編集」が不可能です。

最後に取り消されたコマンドを元に戻すリストから取り出して再実行します。

戻り値

なし

関連項目

flushUndo, undo, undoInfo

MEL の例

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