Page 1209 - Kitab3DsMax
P. 1209
FIGURE 49.1
MAXScript is written using standard syntax in a simple text editor window.
FIGURE 49.2 Chapter 49: Automating with MAXScript
The MAXScript rollout on the Utilities panel is a great place to start working with MAXScript.
Tutorial: Using the SphereArray script
Here’s a chance for you to play around a little and get some experience with MAXScript in the process. In
the Chap 49 directory of the DVD is a simple script called SphereArray.ms. It’s similar to the Array com-
mand found in the Tools menu, except that SphereArray creates copies of an object and randomly positions
them in a spherical pattern.
To load and use the SphereArray script, follow these steps:
1. Select Create ➪ Standard Primitives ➪ Box, and drag in the Top viewport to create a Box object
that has a Length of 10 and Width and Height values of 1.0.
1161