2 Demonstrates creating instances of a node hierarchy.
7 def createNodes(o, cnt):
12 for i
in xrange(len(nodes) - 1):
13 nodes[i + 1].Parent = nodes[i]
16 def alignNodesInLine(nodes, pt):
17 for i
in xrange(len(nodes)):
23 obj.ParameterBlock.Radius.Value = 3.0
24 nodes = createNodes(obj, 10)
27 copy = nodes[0].CreateTreeInstance()
30 if __name__ ==
"__main__":