Log in

View Full Version : Possible to change size of a vizshape.addBox object?


Renato Lima
10-16-2010, 01:49 PM
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