WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Possible to change size of a vizshape.addBox object? (https://forum.worldviz.com/showthread.php?t=3026)

Renato Lima 10-16-2010 01:49 PM

Possible to change size of a vizshape.addBox object?
 
Is it possible to getSize and setSize of a vizshape.addBox object?

There is nothing about this on the documentation.

masaki 10-18-2010 09:51 AM

Yes, it is possible to get and set the scale of a vizshape object.

box = vizshape.addBox() #define box
box.setScale(2,2,2) #change scale by 2x
box.getScale() #get the scale

Best,
Masaki


All times are GMT -7. The time now is 09:02 PM.

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