2010

Table Of Contents
Commands can operate on objects other than what is currently selected
by specifying an object name as an argument. The name must be the last
argument in the command.
4 Select the cube and the sphere simultaneously by holding down shift
and clicking the sphere.
5 Delete the objects by typing the following in the Script Editor
delete;
NOTE A list of all flags available for a specific command can be displayed in
the Script Editor by typing help command;. For example, help sphere;
provides a list of flags for the sphere command.
For a full list of MEL or Python commands and flags, select one of the following
from the menu bar:
Help > MEL Command Reference
Help > Python Command Reference
Beyond the lesson
In this lesson, you learned how basic MEL scripting commands work in Maya.
You can:
Write basic MEL creation commands to bypass the Maya user interface.
Use flags at object creation time to specify the attributes for the objects.
Edit the attributes of objects using a command in conjuction with the edit
flag.
Observe the history created in the Script Editor and then copy and paste
it into the Script Editor to create your own scripts.
Beyond the lesson | 665