<< DropText | DuplicateBorder >> |
Top: Documentation Library | Up: D Commands |
Duplicate Object Command
Duplicates the selected object(s) once with a small offset.
duplicate [DEFAULTOFFSET | NOOFFSET | OFFSET offsetx offsety] [IDLIST &objectidlist/.0.1.2] [DOCUMENT name | WINDOW name | OBJECTID number]
DEFAULTOFFSET/b Use the default duplicate offsets.
NOOFFSET/b Duplicate in the exact same location as the originals.
OFFSET/d Overrides the default duplicate offsets.
IDLIST/s Name of stem variable to return list of new object handles. Prior to 5.0.2.11, IDLIST also included .COUNT.
DOCUMENT/s The document name. Default=current.
WINDOW/s The window name. Default=current.
OBJECTID/i The number of the object to manipulate.
Results:
Returns a list of all new object handles. Removed .COUNT from list in 5.0.2.11 so that they can be returned as a list instead of a dict in python. The return result still contains the count. However, any older Arexx script that relies on this stem variable will need to be updated.
Notes:
Examples:
ARexx:
Duplicate Command Definition url:PGScmd/duplicate
created:2006-03-30 13:47:47 last updated:2006-08-18 11:52:09
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For Duplicate | sign in to add a comment |
Dan Kilroy wrote... | 2006-05-03 19:09:53 |
Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above. Duplicate the {...} . objectcount = Duplicate ([DEFAULTOFFSET | NOOFFSET | OFFSET deltax deltay] [IDLIST &objectidlist/.0.1.2] [DOCUMENT document | WINDOW document-window | OBJECTID objectid])
ARexx: Applescript: | |
User Contributed Comments For Duplicate | sign in to add a comment |
<< DropText | DuplicateBorder >> |
Top: Documentation Library | Up: D Commands |