Iterate through node3d children
Is there any way to obtain the list of childs from a node3d object?
I have been trying to use list = On your documentation it clearly says that: "NOTE: This command does NOT return a list of the underlying scene graph nodes and does NOT create new Vizard node3d objects. It will only return existing node3d objects" ... but it never mentions how to actually do these things. ideas? |
The command
If you want to get a list with all sub-objects you could first get all the sub-object names and then use Code:
model = viz.add('gallery.ive') |
Thank you, this solved my problem. And this is my new code:
for name in world.getNodeNames(): abc = world.getChild(str(name)) abc.appearance(viz.DECAL) |
All times are GMT -7. The time now is 07:43 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC