Show in Contents
Add to Favorites
Home: Autodesk Maya Online Help
Create, rename, rearrange, or delete a shelf
Customize shelves
Edit the MEL or Python script associated with a shelf item
Add a tool, action, or Maya script to a shelf
To
add a tool to a shelf
- Select
the tool.
- Drag
the tool icon with from
the Tool Box onto the shelf.
You can add multiple versions of the same tool
with different settings to a shelf. For example, you can add a Sculpt
Surfaces Tool with the Push option selected
and another Sculpt Surfaces Tool with the Pull operation
selected. This only works with tools, not regular menu items (actions).
To add a menu item (action) to a shelf
- Click
the shelf you want to add the menu item to.
- Open
the menu with the menu item you want to add.
- Do
one of the following:
- (Windows
and Mac OS X) Hold + and
click the menu item.
- (Linux)
Hold + and
click the menu item.
For example, you could modify the parameters
of the NURBS sphere tool by selecting the option box and changing
the settings in the NURBS sphere window. You can then save the tool
settings as a shelf button by holding + and
clicking the menu item. The shelf button is saved with the settings
currently specified in the settings window.
To add a command or script to
a shelf
- In
the Script Editor (
Window > General Editors >
Script Editor),
select the MEL or Python commands you want to add to the shelf.
- Drag
the selection with from
the editor onto the shelf. You may be prompted as to whether you’re
dragging Python or MEL commands to the shelf.
To
add a panel layout to a shelf
- Click
the shelf you want to add the layout to.
- In
a panel, select Panels > Panel editor.
- Click
the Layouts tab.
- Click
the layout name, then click Add to Shelf.