WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: farshizzo
Forum: Vizard 02-14-2007, 09:34 AM
Replies: 3
Views: 12,368
Posted By farshizzo
Sure, here is some sample code that gets the...

Sure, here is some sample code that gets the bounding box of a vrml object and prints the dimensions:model = viz.add('model.wrl')
bb = model.getBoundingBox()
print bb.size
Forum: Vizard 02-02-2007, 09:30 AM
Replies: 3
Views: 12,368
Posted By farshizzo
The getSize() command only works on texture...

The getSize() command only works on texture objects. The tex object in your sample code is actually a node3d object, since box.wrl is a VRML file, not an image file.
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -7. The time now is 04:46 PM.


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