Arbortext IsoDraw > Macro Language Reference > Window Commands > Attribute Window > Grids > Add Grid
  
Add Grid
The ADD GRID command creates a new grid and adds it to the currently active document.
* 
If there is no document open, the new grid will be a new standard grid available in all new documents.
ADD GRID"name"z_anglex_angle
name
Name of the grid after creation. If there is already a grid with that name the macro command can not be executed. You cannot use the following characters within a macro name:
Forward slash (/)
Circumflex accent (^)
Exclamation point (!)
Less than (<)
Left parenthesis “(“
Colon (:)
x_angle, z_angle,
Optional parameter defines the x and z axis. The angles can range from 0° to 90° but totaled they should not exceed 90° (included). The y-axis is not specified as it will always be vertical.
If the angle parameters are missing the plane angle of the first two selected lines is taken to build the grid. If only one line is selected the grid will be build as isometric-grid (30° - 30°).
MACRO CreateGridArray
DEFINE a AS Integer
DEFINE b AS Integer
FOR a=10 To 70 STEP 10
FOR b=10 TO 80-a STEP 10
ADD GRID "[ "+a+" - "+b+ " ]" a b
END FOR
END FOR
END MACRO