View Single Post
  #15  
Old 08-18-2003, 10:10 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The returned object from the viz.getchild() command should work like any other object. My guess is that Vizard is not finding the object. To make sure perform the following command after you get the child:

Code:
child = object.getchild()
print 'Child id is',child.id
If the child id is -1 then vizard failed get the child. Look at the console window for the output, not the interactive window. Let me know if this helps.
Reply With Quote