View Single Post
  #4  
Old 02-14-2007, 09:34 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Sure, here is some sample code that gets the bounding box of a vrml object and prints the dimensions:
Code:
model = viz.add('model.wrl')
bb = model.getBoundingBox()
print bb.size
Reply With Quote