The following is a very full featured script, it allows additional controls such as rotation and scaling… However the most notable feature is an “increment” feature, which allows each stepped and repeated object to contain a number that is automatically incremented, such as used in a raffle ticket for example (with optional zero padding and prefix/suffix).
* @Description: Increment summary: Name the textframe containing the value you wish to increment as "increment" - the textframe must contain only the value that needs increment
* @Description: Works by selecting a group item / clipping mask - does not support multiple selections atm but can be extended to do that too
* @Tip: The script should be easier to use with a script panel (google for "script panel illustrator" - there should be an extension by script bay that does that that)
* @Tip: If you're on a Mac, the excellent FastScripts app can be used to assign a shortcut to the script
A different script, I personally prefer the previous script. This script will create the step & repeat on a new document.
Keep in mind that the “Steps” is the total final array (not number of copies), so Horizontal=2 and Vertical=2 would result in 4 objects from the single original source object. The “offset” is the actual distance to move the original object, so a 5cm square that was offset 6cm would have a 1cm gap/gutter.
Keep in mind that the “Steps” is the total final array (not number of copies), so X=2 and Y=2 would result in 4 objects (1 original and 3 copied from the original source). The “offset” is the size of the gaps/gutters between the step/repeat elements. Notable is the unit selector, so that one is not forced to use points!
Hello SainaM, it's been a long time, but I have a solution for you, I needed it in my work and I wrote a script to solve this problem, think it was better way to do this, I made a window like a tool in my workplace and everytime I need, just fill the "offset" and "repeats" values in textboxes and click in a button. Very simple and confortable, if you want this, contact me here and I'll share it with you.
Thank you for your reply but I am obviously doing something wrong. I am trying to get a shape to duplicate 100 times with an precise 1 mm offset to the left and 10 mm down. In using the Cmd+Shift+M it moves the object and Cmd+D (the old Freehand command which worked) does not do it either. Both just move the object and not copy it. What step am I missing?