PDA

View Full Version : How To Get All The Drawables In A Model As Nodes


ariekazy
12-16-2017, 02:49 PM
Hiii

I want to get access to all the children of a node. I know I have to use node.getChild but that only gives me nodes which are children of that node. If I want to get access to all the drawables also, what should I do. This the support it shows the getChild don't work with drawables. So what should I do..

Regards
Shen

Jeff
12-20-2017, 08:38 AM
The node3D.getNodeNames (http://docs.worldviz.com/vizard/#commands/node3d/getNodeNames.htm) command returns a list of scene graph node names. I don't think drawables are nodes in the scene graph though. Can you describe a bit more what you're trying to do.