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

概要

undo

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

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

戻り値

なし

関連項目

flushUndo, redo, 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 //

polySphere;
// Result: pSphere1 polySphere1 //

undo;
// Undo: polySphere; //

undo;
// Undo: polyCube; //