2010

Table Of Contents
TIP Transferring values between Python and Maya can also be accomplished
by using invisible user interface elements. You can edit and query the contents
of user interface elements with both scripting languages.
Beyond the lesson
In this lesson, you learned how to access Mayas functionality through Python
scripting commands. You can:
Type basic Python commands in the Script Editor to access Maya
Commands.
Use named arguments as flags at object creation time to specify the
attributes for the objects.
Use commands that require multiple arguments by packing the arguments
in a tuple or list.
Edit the attributes of objects using a command with the edit flag.
Execute Python commands from the MEL interpreter and execute MEL
commands from the Python interpreter.
Transfer values between Python and MEL.
The MEL tutorials introduce some other uses for scripting in Maya. You can
follow through with the MEL tutorials by using the Python Command
Reference to translate MEL commands to their Python equivalents.
Python can also be used to write scripted plug-ins. For more information, see
Introduction to Maya Python API in the API guide.
Beyond the lesson | 715