Your Ad Here

See or record the MEL commands associated with actions

In the Script editor, turn on Script > 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

  1. Turn on Echo All Commands.
  2. Perform the actions you want to record.
  3. 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 Selected to Shelf.
    • To save the recorded commands to a file, in the Script editor menus select File > Save Selected.

 

Return to Autodesk Index


Your Ad Here