SET_WP_GRID_SIZE sets the grid size for specified
existing workplanes.
+----------<------------+
| |
---->(SET_WP_GRID_SIZE)--|wp|------+--(:WIDTH)---|width|---+---->
| |
+--(:HEIGHT)--|height|--+
The following options are available to set your grid size.
- :WIDTH - distance between lines or dots in X direction.
- :HEIGHT - distance between lines or dots in Y direction.
Use this action to change the grid spacing of existing
workplanes.
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 changes the grid spacing
of a workplane named /workp. The horizontal distance
between lines/dots is set to 100 and the vertical distance
between lines/dots is set to 50.
All workplane names must be enclosed by double quotes
(" ").
SET_WP_GRID_SIZE "/workp" :WIDTH 100 :HEIGHT 50
SET_WP_DEFAULT_GRID_WIDTH interrupt action
SET_WP_DEFAULT_GRID_HEIGHT interrupt action
SET_WP_GRID_MODE terminate action