Show in Contents
Add to Favorites
Home: Autodesk Maya Online Help
Run MEL commands
Running MEL
Make a shelf button for a script
See or record the MEL commands associated with
actions
In the Script
Editor, turn on History > Echo All
Commands.
As you work in Maya, all the MEL commands Maya
uses internally to execute actions and change the user interface
will be printed in the Script Editor.
To
record a series of actions
- Turn
on Echo All Commands.
- Perform
the actions you want to record.
- Select
the commands in the Script Editor and do one of
the following:
- To
make a shelf button that executes the recorded commands, in the Script
Editor menus select File > Save Script
to Shelf.
- To
save the recorded commands to a file, in the Script
Editor menus select File > Save Script.