User Guide

675
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
Syntax
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.
Example
The following statement sets the topRadius property of the model resource Tube to 0.0. If the
bottom radius has a value greater than 0, models using Tube will be conical.
member("3D World").modelResource("Tube").topRadius = 0.0
topSpacing
Syntax
chunkExpression.topSpacing
Description
Text cast member property; allows you to specify additional spacing applied to the top of each
paragraph in the
chunkExpression portion of the text cast member.
The value itself is an integer, with less than 0 indicating less spacing between paragraphs and
greater than 0 indicating more spacing between paragraphs.
The default value is 0, which results in default spacing between paragraphs.
Example
This statement sets the topSpacing of the second paragraph in text cast member "myText" to
20:
member(1).paragraph[2].topSpacing = 20
See also
bottomSpacing
trace
Syntax
the trace
Description
Movie property; specifies whether the movies trace function is on (TRUE) or off (FALSE). When
the trace function is on, the Message window displays each line of Lingo that is being executed.