SetGrid Document Command

SETGRID Document Commands

Sets the display and/or drawing grids for a master page.

setgrid [SNAP x y] [SNAPALL | SNAPRANGE x y] [SNAPOFFSET x y] [DISPLAYINTERVAL x y] [DISPLAYOFFSET x y] [SAVE] [MASTERPAGE name]

SNAP/d The grid spacing. Default=current.

SNAPALL Always snaps objects to the grid.

Default=current.

SNAPRANGE/d Snaps objects when within this range. Default=current.

SNAPOFFSET/d The offset of the grid from the origin. Default=current.

DISPLAYINTERVAL/i Sets the grid display to a multiple of the SNAP. Default=current.

DISPLAYOFFSET/d Sets the grid display offset from the grid.

SAVE Saves to the PageStream3 Preferences file.

MASTERPAGE/s The master page name.

Default=current.

Notes:

Grid spacing and strength are part of the master page description. The snap-to-grid toggle is part of the window settings.

Examples:

setgrid snap 0.25 0.25 snaprange 0.0625 0.0625

 

SetGrid  Command Definition  url:PGScmd/setgrid
  created:2006-03-31 10:52:55   last updated:2006-03-31 10:52:55
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetGrid
Dan Kilroy wrote...2006-05-03 18:44:41

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetGrid ([SNAP gridh gridv][SNAPOFFSET gridxoffset gridyoffset] [SNAPALL|SNAPRANGE rangex rangey] [DISPLAYINTERVAL gridh gridv][DISPLAYOFFSET gridxoffset gridyoffset] [SAVE] [MASTERPAGE document:...-masterpage | DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetGrid