User Guide
338 Chapter 16: Working with Models and Model Resources
Box properties
Boxes have a
type property of #box. Box properties can be modified or animated at runtime.
resolution
Get and set Number of polygonal segments around
the circumference of the circle. Controls
the smoothness of the cylinder’s
appearance.
An integer value
greater than 1.
height
Get and set Height of the cylinder along the z-axis. Positive floating-point
value. The default
is 50.0.
topCap
Get and set Value indicating whether the top of the
cylinder is closed or open.
TRUE = closed.
TRUE or FALSE. The
default is
TRUE.
bottomCap
Get and set Value indicating whether the bottom
of the cylinder is closed or open.
TRUE = closed.
TRUE or FALSE. The
default is
TRUE.
Property Access Description Value Range
height
Get and set Height of the box, measured along the
y-axis.
Positive floating-point
value. The default is
50.0.
width
Get and set Width of the box, measured along the
x-axis.
Positive floating-point
value. The default is
50.0.
length
Get and set Length of the box, measured along the
z-axis.
Positive floating-point
value. The default is
50.0.
top
Get and set Value indicating whether the top of the
box is closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is
TRUE (1).
bottom
Get and set Value indicating whether the bottom of
the box is closed or open.
TRUE (1) =
closed.
TRUE (1) or FALSE
(0)
. The default is
TRUE (1).
front
Get and set Value indicating whether the front of the
box is closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is
TRUE (1).
back
Get and set Value indicating whether the back of the
cylinder is closed or open.
TRUE (1) =
closed.
TRUE (1) or FALSE
(0)
. The default is
TRUE (1).
left
Get and set Value indicating whether the left end of
the box is closed or open.
TRUE (1) =
closed.
TRUE (1) or FALSE
(0)
. The default is
TRUE (1).
right
Get and set Value indicating whether the right end of
the box is closed or open.
TRUE (1) =
closed.
TRUE (1) or FALSE
(0)
. The default is
TRUE (1).
Property Access Description Value Range