Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Adding tools in Tool Box? (https://simplymaya.com/forum/showthread.php?t=2277)

LeoGeo 22-11-2002 10:11 PM

Adding tools in Tool Box?
 
Is it possible to add more tools to the Tool Box bar? I know we can just drag tools to the Shelf bar, but what about the Tool box?

3djoe 22-11-2002 10:22 PM

To add a tool from the Tool Box:

Using the middle mouse button, drag the tool to the shelf.




This creates an editable tool on the shelf. If you select this tool from the shelf and change any settings in the Tool Settings window, the settings for the shelf item also change. These new settings become the default for the shelf tool.

To add a menu item to a shelf:

Press Ctrl-Shift-Alt (IRIX), Shift-Alt (Linux), or Ctrl-Shift (Windows), then select the item from the appropriate menu. Maya places the item on the current shelf. This adds the base tool to the shelf. Any changes you make to the tool settings will be reflected in the shelf tool also.

To add a MEL command to a shelf from the Script Editor:

In the Script Editor (Window > General Editors > Script Editor), highlight the MEL command text that you want to add to a shelf.
Using the middle mouse button, drag the selected text to the shelf and release. This places a MEL icon on the shelf. When you click the icon, Maya runs the command(s).
For example:

Open the Script Editor window (Window > General Editors > Script Editor).
Select Create > NURBS Primitives > Sphere. A sphere appears at the origin.
Select the Move Tool and drag a manipulator arrow to move the sphere.
The MEL command move -r 5.315 0 0; (with your own coordinates), appears in the upper pane of the Script Editor.

Highlight the MEL command text in the upper pane of the Script Editor.
Using the middle mouse button, drag the selected text to the shelf and release. This places a MEL icon on the shelf. When clicked, the icon executes the move -r 5.

mrmacca 22-11-2002 10:30 PM

3djoe, i think he was meaning he wants to drag onto the toolbar, not from it. i have no idea how that's done, even if it's possible and it probably isn't.

Roman 22-11-2002 10:34 PM

nice work 3djoe.. :)

& welcome to SM LeoGeo.. :p

3djoe 22-11-2002 10:49 PM

Thanks Roman I try hard:banana:


All times are GMT. The time now is 05:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018