Eyeon:Script/Reference/Applications/Fusion/Classes/Input/SetExpression
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Input
Contents |
Input: SetExpression
Arguments
SetExpression(expr)
- expr (required, string)
A simple expression string
Returns
None
Remarks
This function reveals the Expression field for the Input, and sets it to the given string.
Simple expressions can be very useful for automating the relationship between controls, especially in macros and commonly-used comps.
Requirements
- eyeonScript 5.1
- Fusion 5.1
See Also
Examples
-- gang the colour sliders to Red, only staggered tool.Green:SetExpression("Red * 0.7") tool.Blue:SetExpression("Red * 0.4")
Tips for SetExpression (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/Input/SetExpression