SET_WP_DEFAULT_GRID_MODE sets the grid mode for future
workplanes.
---->(SET_WP_DEFAULT_GRID_MODE)--+--(:OFF)---+---->
| |
+--(:DOTS)--+
| |
+--(:LINE)--+
The following options are available to set
your grid mode.
- :OFF - no grid will be displayed.
- :DOTS - specifies the default grid to be displayed
as a dot matrix.
- :LINE- specifies the default grid to be displayed as
a series of lines.
Use this action before creating one
or more workplanes having the same grid mode.
This is much easier than changing the grid mode of
workplanes after they have been created.
The grid will only be displayed, and caught to, when the
grid points or lines are not too close together, in terms of
pixels. This means that there will be occasions where you
expect to see the grid, but will not. For example:
- If too small a grid spacing is specified.
- If you display the grid, and then zoom away from the workplane,
causing the pixel grid spacing to become too small.
- If you display the grid, and then rotate the view or the
workplane causing the pixel grid spacing to become too small.
The following parameter sequence specifies workplanes will
be created with a dot grid.
SET_WP_DEFAULT_GRID_MODE :DOTS
SET_WP_DEFAULT_GRID_WIDTH interrupt action
SET_WP_DEFAULT_GRID_HEIGHT interrupt action
SET_WP_DEFAULT_GRID_COLOR interrupt action
SET_WP_DEFAULT_CONSTR_COLOR interrupt action
SET_WP_DEFAULT_FRONT_BORDER_COLOR interrupt action