View Single Post
Old 10-11-2011, 05:27 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,465
The node3D.getChildren command will return a list of the immediate Vizard node3d objects that are below that node. It will not return a list of the underlying scene graph nodes.

When you use the node3D.getChild command a new node3d object is created.

You can use the <node3d>.getNodeNames command to retrieve a list of names of the scene graph nodes underneath the Vizard node:
model = viz.addChild('gallery.ive')

print 'Model contains the following scene graph nodes:'
for name in model.getNodeNames():
	print ' ',name
Reply With Quote