Purpose

Retrieves the calculated value (post modifiers and keyframes) of a float property in a node.

Syntax

float GetEnvelopeValue(String FieldName, float value);

  • FieldName : the field name (NB: Does not require the group name)

returns a float of the resulting calculated value from the last frame.

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Frame Buffer");
    value = node.GetEnvelopeValue("Position X");
}