GetGridDisplay Document Query Command

GETGRIDDISPLAY Document Queries

Gets the grid display status.

getgriddisplay [DEPTH layer] [COLOR stem] [WINDOW name]

DEPTH/k Gets the grid depth.

COLOR/i Gets the red, green and blue components of the grid color.

WINDOW/s The window name. (Default=current)

Results:

Returns the grid display status (ON|OFF) to RESULT.

layer/k The depth: INFRONT|INBACK.

COLOR stem

red/i The red component.

green/i The green component.

blue/i The blue component.

Examples:

getgriddisplay depth layer
   if result='ON' then say 'Grid is shown '||layer

 

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

User Contributed Comments For GetGridDisplay
Dan Kilroy wrote...2006-05-04 17:16:41

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

Gets the {...} .

mode<ON|OFF> = GetGridDisplay ([WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetGridDisplay