2010

Table Of Contents
The radius flag allows you to specify a value for the radius of the sphere.
The value 2 is associated with the radius flag, and is not a command
argument.
This is equivalent to specifying values within the Polygon Sphere Options
dialog in the Maya interface.
NOTE Flags have short and long names. Commands execute the same way whether
or not you use long or short flag names. The above command could have been
typed as:
polySphere -r 2 -sX 4;
Some flags have the same short names, but they are used in different contexts so
it does not affect the execution of the script. For example: -r is the short name
of the -relative flag, used with the move command, -r is also the short name
of the -radius flag, used with the sphere command.
The sphere has a default name of pSphere#. Rename the selected sphere
by typing the following in the Script Editor:
rename test_Sphere;
The rename command changes the name of the currently selected object.
If multiple objects are selected, the rename command renames the selected
objects to the specified name with a numerical index appended, as every
object must have a unique name.
Modifying object attributes | 663