WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

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

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
Pankaj Bansal
Reply With Quote
  #2  
Old 12-29-2012, 01:21 PM
pankaj bansal pankaj bansal is offline
Member
 
Join Date: Nov 2012
Posts: 14
I have managed to get do this..
sorry for asking this...
Reply With Quote
  #3  
Old 01-02-2013, 11: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:
Code:
model.texture(tex,node='drawable name')
Reply With Quote
Reply

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 10:17 AM
Change model alpha and memory leak hosier Vizard 2 06-25-2009 11:55 AM
Internal nodes of loaded model files? dtidrow Vizard 2 05-12-2009 09:55 AM
Collision with child nodes rubberpimple Vizard 4 09-17-2008 05:27 PM
Model sizes Pastscapian Vizard 15 10-07-2006 03:48 PM


All times are GMT -7. The time now is 03:07 AM.


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