I'm trying to set the position and size of selected objects in Illustrator to whole numbers quickly.

Is there an Action or Script that does that already?

If so, where can I find that?

Otherwise, what would be the fastest workflow?

(So far I'm tabbing through the Transform Panel and manually rounding and iterating through elements, which is slow)

  • From how I interprate you question. You could create a Action using the Effect->Transform to use a general scale and move. Going about it this way would allow you to set a global change to objects in a document/artboard. Commented Nov 15, 2014 at 19:13
  • Possible duplicate of How to avoid decimals on position and size using pixels
    – Luciano
    Commented Jun 1, 2016 at 13:09
  • @Luciano that question assumes working in pixels. If you're working in any unit other than pixels/points then that won't work.
    – Cai
    Commented Jun 2, 2016 at 14:46
  • @Cai True. I assumed pixels would be the most troublesome unit, since blurred lines can occur when not aligned to the pixel grid.
    – Luciano
    Commented Jun 2, 2016 at 14:52
  • True pixels are the most probable case, question doesn't specify though. And that question is only relevant for new objects, not adjusting existing objects.
    – Cai
    Commented Jun 2, 2016 at 15:07

1 Answer 1


Next time you could set up a grid and let the artboard and all objects snap to it.

  • To use the grid, choose View > Show Grid.
  • To hide the grid, choose View > Hide Grid.
  • To snap objects to gridlines, choose View > Snap To Grid,
    (Note: When the View > Pixel Preview option is selected, Snap To Grid changes to Snap To Pixel.)

  • To specify the spacing between gridlines, choose Edit > Preferences > Guides & Grid (Windows) or Illustrator > Preferences > Guides & Grid (Mac OS).

Source: http://helpx.adobe.com/illustrator/using/rulers-grids-guides-crop-marks.html#use_the_grid


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.