EditGrid Object Command

EDITGRID Object Commands

Sets the coordinates of a selected grid object.

editgrid [POSITION pointx1 pointy1 pointx2 pointy2 | POINTS pointx1 pointy1 pointx2 pointy2 pointx3 pointy3 pointx4 pointy4> [DIVISIONS horz vert] [ROTATE angle | SKEW slantangle twistangle | SLANT angle | TWIST angle] [ABOUT pointx pointy | ABOUTCENTER] [constraint] [printable] [DOCUMENT name | WINDOW name | OBJECTID number]

POSITION/d The coordinates of a rectangular grid.

POINTS/d The coordinates of the vertices of a non-rectangular grid. (Numbered counterclockwise)

DIVISIONS/i The number of grid cells in each direction.

ROTATE/d The rotation angle.

SKEW/d The slant and twist angle.

SLANT/d The slant angle.

TWIST/d The twist angle.

ABOUT/d The rotation point.

ABOUTCENTER Rotates around its center.

constraint/k The aspect ratio constraint toggle.

Options: CONSTRAIN|FREE (default). printable/k The print object toggle.

Options: PRINT (default)|NOPRINT.

DOCUMENT/s The document name.

WINDOW/s The window name.

OBJECTID/i The number of the object to edit.

Notes:

All options default to the current values if not specified.

Examples:

editgrid position 2 2 6 6 divisions 5 10 noprint

editgrid position 2 2 6 6 divisions 5 10 constrain

editgrid points 1 1 1 3 5 6 2 3 page 'MyDoc~6'

 

EditGrid  Command Definition  url:PGScmd/editgrid
  created:2006-03-30 14:03:53   last updated:2006-03-30 14:03:53
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For EditGrid
Dan Kilroy wrote...2006-05-03 18:30:15

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

Edit the {...} .

EditGrid ([POSITION left top right bottom [ADJUST]] [POINTS x1 y1 x2 y2 x3 y3 x4 y4] [DIVISIONS x y] [ROTATE rotation | SKEW slant twist | SLANT slant | TWIST twist] [ABOUT x y | ABOUTCENTER] [CONSTRAIN | FREE] [PRINT | NOPRINT] [DOCUMENT document | WINDOW document-window | OBJECTID objectid])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For EditGrid