Purpose

Adds a node as a child of another node.

Syntax

void AddChild(object Node);

  • Node: The node to add as a child.

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Shape 3D");
    defomer = layer.FindNode("Taper Deformer");
    node.AddChild(deformer);
}