2010

Table Of Contents
To see the value of Balls scaleY attribute at any particular frame, select
Ball, display the Channel Box, and stop the animation at the desired
frame. The Channel Box updates its values after you stop the animation.
The scaling is smooth because the geometry stretches in synch with the
small time increments of the animation playback.
8 Close the Expression Editor window.
Editing expressions
To edit an expression after youve created it and closed the window, you must
know how to find the expression in the Expression Editor. The next steps
show how to find and edit the expression. Specifically, youll change the
expression to alter how quickly the scaleY value changes.
To edit the expression
1 To display the Expression Editor again, select Window > Animation Editors
> Expression Editor.
2 To find the expression, make sure the Ball is selected. In the Attributes
list of the Expression Editor, select scaleY, the attribute controlled by the
expression.
If you dont see the scaleY attribute, scroll through the Attributes list as
necessary. You can also use the Select Filter menu option to customize
how you search for your expressions within the Expression Editor.
The expression you created previously appears in the expression text
field:
Ball.scaleY = time + 1;
3 Change the expression to this:
Ball.scaleY = time/5 + 1;
By dividing time by 5, youll make the Y scaling increase one-fifth as fast
as with the previous version of the expression.
Note that you can use the keyboard commands Ctrl-c (Windows and
Linux) or Control-c (Mac OS X), Ctrl-x or Control-x, and Ctrl-v or
Control-v to copy, cut, and paste text in the Expression Editor and
elsewhere in Maya.
4 Click Edit to update the modified expression.
630 | Chapter 12 Expressions