ジャンプ先: 概要. 戻り値. 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.png";
toolButton
    -tool       scaleSuperContext
    -toolImage1 scaleSuperContext  "scale_M.png";
showWindow $window;

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