2010

Table Of Contents
TIP For more details on these flags, see sphere in the MEL Command Reference.
The MEL Command Reference gives a complete listing of the functionality of all
MEL commands and flags.
NOTE You can copy commands from the Script Editor history section and paste
them in the input section to execute them.
Delete the NURBS sphere by pressing the delete key on your keyboard.
To type a MEL command in the Script Editor
1 Select a MEL tab in the Script Editor.
Script Editor tabs allow you to quickly switch between MEL and Python
script entry modes. You can create additional Script Editor tabs to serve
as a temporary holding area for scripts.
2 Type the following command in the input section of the Script Editor.
polyCube;
TIP When asked to type a command, you can copy it from these tutorials
and paste it into the Script Editor input section.
3 Execute the command by pressing Enter on the numeric part of your
keyboard.
You must always type Enter on the numeric keypad or Ctrl+Enter (the
regular Enter on your keyboard) to execute commands. Typing regular
Enter just creates a new line in the Script Editor input.
A polygonal cube is created at the origin.
660 | Chapter 13 Scripting in Maya