Purpose

Sets the value of an string property in a node.

Syntax

void SetString(String PropertyName, String value);

  • PropertyName : the property within the node. Starts with GroupName.Property e.g. Transform.Position X
  • value: the string value the property is to be set to

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("MyTextNode");
    node.SetString("Attributes.Text String", "Dormant");
}