View Single Post
  #2  
Old 03-25-2008, 04:55 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can use the optional node parameter of the getBoundingBox function to specify the specific subgraph that you want to compute the bounding box of. This will work as long as the child nodes don't have a subgraph with the same name. Another workaround would be to temporarily detach the children from the parent while computing the bounding box, then reattaching them using the node.unparent/parent commands.
Reply With Quote