2009

Table Of Contents
You can add custom images to a shelf button, change the name of a shelf
button, or change the commands associated with a shelf button by selecting
Window > Settings/Preferences > Shelf Editor. For more information, see
You can also create custom icons for your Shelf buttons in your favorite
image editing program. Icons must be 32X32 pixels and in bitmap format.
Lesson 3: Using Variables in MEL
Introduction
In this lesson, you learn how to store data in MEL variables. Variables are a
method of storing data in programming, including scripting languages. In
this lesson you use the saved value of a variable to create a pyramid of barrels
using MEL scripting commands. You also learn how to:
Use MEL to create copies of existing geometry
Use variables to store and recall data
Use the built in MEL math functions to modify the value of variables
Apply dynamics to scene objects using MEL
614 | Chapter 13 Scripting in Maya