Eyeon:Script/Reference/Applications/Fusion/Classes/Input/SetExpression

From VFXPedia

< Eyeon:Script | Reference | Applications | Fusion | Classes | Input
Revision as of 09:29, 13 April 2007 by Daniel (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

GetExpression()

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