![]() |
|
#2
|
|||
|
|||
|
The command <node3D>.getChildren() will return the list of children for an object that you have defined in the Vizard script. It will not return the list of sub-objects for that object as defined in the modeling software.
If you want to get a list with all sub-objects you could first get all the sub-object names and then use <node3D>getChild() to get the handles to the sub-objects passing in their names. This prints out all sub-object names: Code:
model = viz.add('gallery.ive')
for name in model.getNodeNames():
print name
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| node3d: vertices, faces | jdoerr | Vizard | 3 | 09-02-2010 07:32 AM |
| How to move a text object and its children text objects as a whole | knightgba | Vizard | 2 | 08-24-2010 10:21 AM |
| passing node3d to c++ | jdoerr | Plug-in development | 1 | 04-23-2009 03:16 PM |
| how to enable node and all children | michaelrepucci | Vizard | 2 | 08-01-2008 11:47 AM |
| Inheritence with node3d | dan12345 | Vizard | 1 | 05-23-2008 06:14 PM |