<node3d>.getNodeNames

Returns a list of all scene graph node names

 

<node3d>.getNodeNames(
    node = ''    

)

 

node = ''

Name of subchild to retrieve list of node names from


Remarks

This command will return a list of the names of all the scene graph nodes underneath the Vizard node. The list will contain unique, non-empty names.

Return Value

List of strings

Example

model = viz.add('gallery.ive')

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

See also

<node3d>.getChild
<node3d>.getChildren
<node3d>.getParents