GetGrid Document Query Command

GETGRID Document Queries

Gets the snap-to-grid settings for a master page.

getgrid [MASTERPAGE name]

stem/a Gets the grid settings.

MASTERPAGE/s The master page name. Default=current.

Results:

stem

h/d The horizontal grid spacing.

v/d The vertical grid spacing.

x/d The horizontal snap offset.

y/d The vertical snap offset.

snap/k The snap method: ALL | RANGE.

rangeh/d The horizontal range.

rangev/d The vertical range.

displayh/i The horizontal display interval.

displayv/i The vertical display interval.

displayx/d The horizontal display offset.

displayy/d The vertical display offset.

Examples:

getgrid info
say info.h
say info.v

 

GetGrid  Command Definition  url:PGScmd/getgrid
  created:2006-03-30 22:20:07   last updated:2006-03-30 22:20:07
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetGrid
Dan Kilroy wrote...2006-05-03 18:50:12

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

Gets the {...} .

GetGrid (gridarray/.H.V.X.Y.SNAP<ALL|RANGE.RANGEH.RANGEV>.DISPLAYH.DISPLAYV.DISPLAYX.DISPLAYY [MASTERPAGE document:...-masterpage | DOCUMENT document | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetGrid