Skip to main content

ToolsGrid

ToolsGrid [/W=winName ] keyword = value [, keyword = value ...]

The ToolsGrid operation controls the grid you can use for laying out draw or control objects.

Parameters

ToolsGrid can accept multiple keyword = value parameters on one line.

snap = nTurns snap to grid on (n =1) or off (n =0).
visible = nTurns on grid visibility (n =1) or hides it (n =0).
grid = (xy0,dxy,ndiv)Defines both X and Y grids where ndiv is the number of subdivisions between major grid lines and xy0 and dxy define the origin and spacing. Units are in points.
gridx = (x0,dx,ndiv )Defines the X grid where ndiv is the number of subdivisions between major grid lines and x0 and dx define the origin and spacing. Units are in points.
gridy = (y0,dy,ndiv)Defines the Y grid where ndiv is the number of subdivisions between major grid lines and y0 and dy define the origin and spacing. Units are in points.

Flags

/W=winNameSets the named window or subwindow for drawing. When omitted, action will affect the active window or subwindow. This must be the first flag specified when used in a Proc or Macro or on the command line.
When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy.

Details

The default grid is 1 inch with 8 subdivisions. The grid is visible only in draw or selector mode and appears in front of the currently active draw layer.