Purpose

Retrieves a list of node objects within a layer.

Syntax

object GetNodes();

returns Node Object list.

Example

function Update()  { 
    layer = Document.GetLayer(0);
    nodeList = layer.GetNodes();
    for(i = 0; i < nodeList.length; ++i)
    {
        var node = nodeList[i];
    }
}