WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-30-2012, 06:23 AM
royb royb is offline
Member
 
Join Date: Aug 2012
Posts: 9
getChild() function - how do I know the children?

I want to change the behavior of elements of some complex 3d model I have, and I understood the way to do it is with the getChild function. But how do I know which children does my model (/Node3d instance) has? And how do I know (for example) which actions they can perform?
Thanks a lot,
Roy
Reply With Quote
  #2  
Old 08-31-2012, 03:38 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Where did you get the model from? Usually, the modeler will assign specific names to the objects in the scene before exporting them. If you upgrade to Vizard 4.0, it comes with a tool called Inspector which allows you to view the names of all the child nodes in the model.

In Vizard 3.0, you can use the node.getNodeNames() command to get a list of all the names.

Regarding knowing which actions they can perform, I'm not sure I understand what you mean. Could you be more specific?
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
Applying mask using Stencil Function goro Vizard 1 06-01-2012 10:21 PM
return variable from keypress function starbug Vizard 2 01-07-2010 11:14 AM
window.pick function over sub-window omidbrb Vizard 4 10-02-2009 04:23 AM
Do you know how to send a value for 'pool' to the onActionEnd function? ghazanfar Vizard 1 03-22-2007 10:25 AM
node3d.center function tavaksai Vizard 3 08-13-2004 11:05 AM


All times are GMT -7. The time now is 11:20 AM.


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