User Guide
566 Chapter 12: Methods
Parameters
None.
Example
This statement sets the top property of the model resource Gift box to FALSE, meaning the top of
this box will be open:
member("3D World").modelResource("Gift box").top = FALSE
See also
back, bottom (3D), front
topCap
Usage
modelResourceObjectReference.topCap
Description
3D command; when used with a model resource whose type is #cylinder, allows you to both get
and set the
topCap property of the model resource.
The
topCap property determines whether the top cap of the cylinder is sealed (TRUE) or open
(
FALSE). The default value for this property is FALSE.
Parameters
None.
Example
This statement sets the topCap property of the model resource Tube to FALSE, meaning the top of
this cylinder will be open:
member("3D World").modelResource("Tube").topCap = FALSE
topRadius
Usage
modelResourceObjectReference.topRadius
Description
3D command; when used with a model resource whose type is #cylinder, allows you to both get
and set the topRadius property of the model resource, as a floating-point value.
The
topRadius property determines the radius of the top cap of the cylinder. This property must
always be 0.0 or greater. The default value is 25.0. Setting topRadius to 0.0 produces a cone.
Parameters
None.