scale artwork with artboard??

Community Beginner ,
Jan 18, 2010

Copy link to clipboard

Copied

Hi

I have artwork that fits nicely on my artboard but I would like to change artboard dimensions and the artwork it contains in one operation - is this possible?

Use following script:
https://gist.github.com/shivendra14/f135d6279a20053a62a798be5da5e174

enter the required artboard area when asked for.

TOPICS
Scripting

Views

48.0K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

scale artwork with artboard??

Community Beginner ,
Jan 18, 2010

Copy link to clipboard

Copied

Hi

I have artwork that fits nicely on my artboard but I would like to change artboard dimensions and the artwork it contains in one operation - is this possible?

Use following script:
https://gist.github.com/shivendra14/f135d6279a20053a62a798be5da5e174

enter the required artboard area when asked for.

TOPICS
Scripting

Views

48.0K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 18, 2010 1
LEGEND ,
Jan 18, 2010

Copy link to clipboard

Copied

I would say with a script as the only possible way the script would do several operations in sequence to accomplish the final effect but fro the user's perspective it would be one task..

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 18, 2010 0
Most Valuable Participant ,
Jan 19, 2010

Copy link to clipboard

Copied

gabbi,

Depending on version and whether there is artwork outside the Artboard, which has to be dealt with if there is artwork that is sucked inside, you may do it in a limited number of steps, which would also be the steps in a script.

With no artwork outside, you may be able to create a nostroke nofill rectangle corresponding to, or replacing, the Artboard in one step (in 10, you can Object>Crop Marks>Make with nothing selected and then Object>Crop Marks>Release), select all, scale to fit the new Artboard size, and with the Artboard Tool Crop to Artwork or something; once you have the Artboard rectangle you may skip that part (in later scalings).

With artwork outside, you may be able to use the Scale Tool to both select an arbitrary point of origin and scale proportionally by a specific factor (I believe this is possible after 10), you may select all, set the Artboard origin as the point of origin, and scale, unless the Artboard origin moves when the Artboard size is changed.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 19, 2010 1
LEGEND ,
Jan 19, 2010

Copy link to clipboard

Copied

Well you cannot do it without a script however if you want to do something manual because of proportional concerns you draw a rectangle the same dimensions and location as the existing artboard.

Then either group the art and artboard or simply select both of them and scale to the percentage or using the selection tool resize them by dragging.

Then you ungroup and or select the rectangle only and go to Object>Convert to Artboard.

I woud have suggested this but cannot see how this can be made into an action that would have any time saving or workflow value.

You would still have to draw the rectangle manually and then select the rectangle then run an action including a scale step and the an ungroup but first I think you would have to stop the action to select only the rectangle,quite a messy deal.

I think a script might work better.

It would be different if there were a command to covert artboard to a path and if that were the case an action would work but without this command there is no real way.

However if you use CS 4 and like the old filter create crop marks you can load the last version of it into the plug in folders for Illustrator CS 4 and it will work.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 19, 2010 0
Community Beginner ,
Sep 17, 2017

Copy link to clipboard

Copied

Use following script:
https://gist.github.com/shivendra14/f135d6279a20053a62a798be5da5e174

enter the required artboard area when asked for.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 17, 2017 1
New Here ,
Oct 24, 2017

Copy link to clipboard

Copied

what is the required artboard size. I am used to putting a H x W dimension in, not just one number

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 24, 2017 0
New Here ,
Jan 24, 2018

Copy link to clipboard

Copied

@maggieb11552238The number required is area of the artboard you wish to use in pixels. For example, 8.5 x 11 in = 740 x 958 px. Multiply 740 by 958 to get the area, 708920, which is the single number you would type in the dialog box.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 24, 2018 1
Explorer ,
Apr 19, 2019

Copy link to clipboard

Copied

I know this has been a while, but for anyone else looking for this functinoality:

This one does the job for me. It's rough, but have a critical look at what you're doing and this should save you some time.

https://github.com/nimbling/Nimbling_Scripts/blob/master/JSX%20Scripts/Scale%20All%20Artboards%20and...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2019 0
Resources