Go to: Synopsis. Return value. MEL examples.
toolDropped
[string]
toolDropped is undoable, NOT queryable, and NOT editable.
This command builds and executes the commands necessary to recreate the specified tool button. It is invoked when a tool is dropped on the shelf.None
// 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;