WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-16-2010, 04:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The command <node3D>.getChildren() will return the list of children for an object that you have defined in the Vizard script. It will not return the list of sub-objects for that object as defined in the modeling software.

If you want to get a list with all sub-objects you could first get all the sub-object names and then use <node3D>getChild() to get the handles to the sub-objects passing in their names. This prints out all sub-object names:
Code:
model = viz.add('gallery.ive')

for name in model.getNodeNames():
	print name
Reply With Quote
 


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
node3d: vertices, faces jdoerr Vizard 3 09-02-2010 07:32 AM
How to move a text object and its children text objects as a whole knightgba Vizard 2 08-24-2010 10:21 AM
passing node3d to c++ jdoerr Plug-in development 1 04-23-2009 03:16 PM
how to enable node and all children michaelrepucci Vizard 2 08-01-2008 11:47 AM
Inheritence with node3d dan12345 Vizard 1 05-23-2008 06:14 PM


All times are GMT -7. The time now is 03:28 PM.


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