CreateNode()
Purpose #
Creates a node within a layer.
Syntax #
object CreateNode(int node_group_and_name);
Parameters
node_group_and_name | The name of the node to create. This must be a fully qualified path to the node. Eg. Cameras::Orbit Camera |
returns Node Object if created, otherwise an object of type undefined.
Example #
function Update()
{
layer = Document.GetLayer(0);
node = layer.CreateNode("Cameras::Orbit Camera");
node.SetName("myNewOrbitCamera");
}