CreateCompound Drawing Command

Merges the selected shapes together to create a compound object.

createcompound [POSITION left top right bottom] [ROTATE angle | SKEW slantangle twistangle | SLANT angle | TWIST angle] [ABOUT pointx pointy | ABOUTCENTER] [constraint] [printable] [stack] [DOCUMENT name | WINDOW name]

POSITION/d The coordinates of the object. Default=current bounding box.

ROTATE/d The rotation angle. Default=0.

SKEW/d The slant and twist angle. Default=0.

SLANT/d The slant angle. Default=0.

TWIST/d The twist angle. Default=0.

ABOUT/d The rotation point.

ABOUTCENTER Rotates around its center. Default.

constraint/k The aspect ratio constraint toggle. Options: CONSTRAIN|FREE (default).

printable/k The print object toggle. Options: PRINT (default)|NOPRINT.

stack/k The stack position. Options: INFRONT (default) | INBACK.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

Results:

The identification number (handle) of the new object is returned to RESULT.

Examples:
ARexx:

createcompound
createcompound position 1.5 2.5 3.25 6.4 constrain

 

CreateCompound  Command Definition  url:PGScmd/createcompound
  created:2006-03-30 10:07:13   last updated:2006-08-18 11:19:21
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For CreateCompound
Dan Kilroy wrote...2006-05-03 15:05:36

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

Creates a {...} .

objectid = CreateCompound ([INFRONT | INBACK | BEST] [POSITION left top right bottom] [FRAMELESS | FRAMED] [CONTENTOFFSET x y] [CONTENTSCALE x y] [CONTENTROTATE rotation | CONTENTSKEW slant twist] [CONSTRAIN | FREE] [PRINT | NOPRINT] [ABOUT x y | ABOUTCENTER] [DOCUMENT document | WINDOW document-window | OBJECTID objectid])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For CreateCompound