移動先: 概要 戻り値 MEL 例.

概要

toolDropped [string]

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

このコマンドは、指定したツール ボタンを再生成するために 必要なコマンドを構築して実行します。ツールがシェルフ上にドロップされると呼び出されます。

戻り値

なし

MEL 例

// Create move tool button and scale tool button in a new window
string $window = `window`;
columnLayout;
toolCollection;
toolButton
    -tool       moveSuperContext
    -toolImage1 moveSuperContext "move_M.xpm";
toolButton
    -tool       scaleSuperContext
    -toolImage1 scaleSuperContext  "scale_M.xpm";
showWindow $window;

// Drop select tool to the created window
toolDropped selectTool;