2009

Table Of Contents
This chapter contains the following lessons:
Lesson 1 Creating a simple expression: Introduction on page 567
Lesson 2 Conditional expressions: Introduction on page 574
Lesson 3 Controlling particle attributes: Introduction on page 584
Preparing for the lessons
To ensure the lessons work as described, do these steps before beginning:
1 Select File > New Scene to create a new scene.
2 If you have not already done so, copy the GettingStarted folder from
its installation location to your projects directory. Then, set the
GettingStarted directory as your Maya project. For more information,
see
Copying and setting the Maya project on page 25.
3 Select Window > Settings/Preferences > Preferences. Click the Settings
category and set the Time option to Film (24 fps) so your animation plays
at the default rate of 24 frames per second. Click the Timeline category
and enter 0 and 300 for the Playback Start/End values. (Press the Enter
(Windows and Linux) or Return (Mac OS X) as necessary.) Set the Playback
Speed to Play every frame. Click the Save button in the Preferences
window.
At this playback speed and frame range, the animation results of the
expressions youll create in the lessons will be easier to examine and
understand.
566 | Chapter 12 Expressions