User Guide

444
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the
number of particles in ThermoSystem to 50000.
member("Fires").modelResource("ThermoSystem").emitter.\
numParticles = 50000
See also
emitter
numSegments
Syntax
member(whichCastmember).modelResource(whichModelResource).\
numSegments
Description
3D property; when used with a model resource whose type is #cylinder, allows you to get or set
the numSegments property of the model resource.
The
numSegments property determines the number of segments running from the top cap of the
cylinder to the bottom cap. This property must be greater than or equal to the default value of 2.
The smoothness of the cylinder’s surface depends upon the value specified for this property. The
greater the property value the smoother the cylinder’s surface will appear.
Example
This statement sets the numSegments property of the model resource named Cylinder03 to 10:
member("3D World").modelResource("Cylinder03").numSegments = 10
numToChar()
Syntax
numToChar(integerExpression)
Description
Function; displays a string containing the single character whose ASCII number is the value of
integerExpression. This function is useful for interpreting data from outside sources that are
presented as numbers rather than as characters.
ASCII values up to 127 are standard on all computers. Values of 128 or greater refer to different
characters on different computers.
Examples
This statement displays in the Message window the character whose ASCII number is 65:
put numToChar(65)
The result is the letter A.