WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 12-25-2012, 01:00 PM
pankaj bansal pankaj bansal is offline
Join Date: Nov 2012
Posts: 14
How to get all the Drawables in a model as Nodes


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..

Pankaj Bansal
Reply With Quote
Old 12-29-2012, 12:21 PM
pankaj bansal pankaj bansal is offline
Join Date: Nov 2012
Posts: 14
I have managed to get do this..
sorry for asking this...
Reply With Quote
Old 01-02-2013, 10:30 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
No need to be sorry. Most commands that accept the optional node name argument, can be used to access drawable objects. For example, you can apply a texture to a specific drawable by specifying the drawable name as the node argument to the node.texture command:
model.texture(tex,node='drawable name')
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3ds Exported .IVE Model mirrors movement of Mainview Felix Vizard 9 05-18-2012 09:17 AM
Change model alpha and memory leak hosier Vizard 2 06-25-2009 10:55 AM
Internal nodes of loaded model files? dtidrow Vizard 2 05-12-2009 08:55 AM
Collision with child nodes rubberpimple Vizard 4 09-17-2008 04:27 PM
Model sizes Pastscapian Vizard 15 10-07-2006 02:48 PM

All times are GMT -7. The time now is 10:37 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC