2010

Table Of Contents
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
Setting up the scene
To import and position the barrel
1 Open the scene named Mel_barrel.mb
674 | Chapter 13 Scripting in Maya