EditDrawing Object Command

EDITDRAWING Object Commands

Sets the coordinates of a selected drawing.

editdrawing [POSITION left top right bottom [SCALECONTENT]] [CONTENTOFFSET offsetx offsety] [CONTENTSCALE scalex scaley] [ROTATE angle | SKEW slantangle twistangle | SLANT angle | TWIST angle] [ABOUT pointx pointy | ABOUTCENTER] [constraint] [printable] [frame] [stored] [FILE filepath] [DOCUMENT name | WINDOW name | OBJECTID number]
[DRAWING | LAYER] IfLayer:[VISIBLE | INVISIBLE][EDITABLE | NONEDITABLE]

POSITION/d The coordinates of the frame.

SCALECONTENT/k Scales the contents with the frame.

CONTENTOFFSET/d The offset in the frame.

CONTENTSCALE/d The scale of the object in the frame.

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. frame/k Specifies whether the object is framed.

Options: FRAMED|FRAMELESS. stored/k Specifies if the object is internal.

Options: INTERNAL|EXTERNAL.

FILE/s The filepath and name of the drawing.

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:

editdrawing position 1 1 5 6 rotate 45 page ¨
   internal 'MyDoc~8'

editdrawing external file ¨
   'Graphics:drawings/house.dr2d'

editdrawing external file ¨
   'Macintosh HD:Graphics:House'

 

EditDrawing  Command Definition  url:PGScmd/editdrawing
  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 EditDrawing
Dan Kilroy wrote...2006-05-03 15:07:57

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

Sets the {...} .

EditDrawing ([POSITION left top right bottom [SCALECONTENT][ADJUST]] PGS40:[DRAWING | LAYER] IfLayer:[VISIBLE | INVISIBLE][EDITABLE | NONEDITABLE] [INTERNAL | EXTERNAL] [FILE file] [FRAMELESS | FRAMED] [CONTENTOFFSET x y] [CONTENTSCALE x y] [CONTENTROTATE rotation | CONTENTSKEW slant twist] [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 EditDrawing