After you’ve created an expression, you might decide later to alter it to create a different animation result. To edit an expression, you display it in the Expression Editor. The following sections describe how to find and display an expression for editing.
To find an expression, you can select from a list of all expressions in the scene.
To search for an expression by name
An Expressions list appears in the Expression Editor. This list shows all expressions created for the scene.
The expression contents appear in the expression text field.
If you don’t remember the name of the expression, click each name on the list until the desired expression appears in the expression text field.
To find such expressions, look for the particle shape node’s name in the Expressions list.
Click the appropriate Runtime before/after dynamics or Creation checkbox to display the desired expression.
If you can’t remember the name you gave an expression, you can find it by selecting the affected object. For a non-particle shape node, you can also select an affected attribute from the Attributes list to narrow the search for the expression.
To search for an expression by object and attribute name
This is the default search setting for the Expression Editor.
The selected object’s name and appropriate attributes appear in the window.
If you’ve forgotten the name of the attribute controlled by the expression, select Attributes list displays only the attributes controlled by expressions for the selected object. Click each attribute in the Attributes list until you see the desired expression in the expression text field.
. TheYou can’t write a different expression for each attribute of a particle shape as you can for other types of objects. Because you can write only one creation expression and two runtime expressions (before and after dynamics calculations) per particle shape, you don’t need to select an attribute from the Expression Editor’s Attributes list. See About particle expressions for details.
To write an expression for any nonkeyable attribute not shown in the list, enter object.attribute name in the Selected Obj & Attr text box.
You can find an expression based on the type of object or item the expression affects. For example, if you can’t remember an expression’s name but remember you applied it to a shader node, you can narrow your search to expressions that control shader nodes in the scene.
To search for an expression by item type
The expression that controls the attribute appears in the expression text field.
Suppose you’ve written an expression that controls the rotateZ attribute of a spotlight transform node named Searchlight. Do this:
To find the expression
You don’t select rotateZ attribute is an attribute of a light’s transform node, not of the light object itself.
in this example. TheThe expression appears in the expression text field.