Skip navigation
Currently Being Moderated

Is it possible to resize all artboards at once the way you used to be able to do in document set-up?

Nov 4, 2012 10:09 AM

I have a document with 20 Artboards. When I resize one it only changes that one. I'm in CS5. Is it possible to resize all artboards at once the way you used to be able to do in document set-up? Many thanks!

 
Replies
  • Currently Being Moderated
    Nov 4, 2012 6:13 PM   in reply to karenf1

    Nope.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2012 8:07 PM   in reply to karenf1

    When you could resize the docuemtn with documant set up there were no artboards and there was only one size to the document and there was only one page in that document so you have never been able to do what you suggest but there is no reason that it could be a feature request as an enhancement for the artboard feature. Keep in mind though that a document can contain various sized artboards and that might mske the feature you suggest no easy task to develope and in order to make your feature request work you would have to think it out and suggest how this problem would be overcome with such a request.

     

    One of the major problems with this is that you can only select one artboard at a time, on the canvas that is. So if the suggestion is the resize all slect artboards this problem to would have to be overcome.

     

    The only way I think it might work is if there were master artboards and you chaned the size of the master artboard and then all the artboards belong to that master artboard type would then change which would not affect artboards belonging to another artboard type.

     

    But since the feature does not exist you have to go with Scott's answer.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 4, 2012 11:48 PM   in reply to Wade_Zimmerman

    it could be done, a way to ask for it in a feature request could be to allow multi-selection in the artboards palette, then the rest would be exactly the same way it currently works, changing the size in the control panel would resize all artboards selected in the palette.

     

    here's a script that resizes ALL artboards (from the certer), with some more work, a dialog could be added, adding the functionality described above.

     

    #target Illustrator
     
     
    //  script.name = resizeArtboards_CS4andUp.jsx;
    //  script.description = resizes all artboards;
    //  script.requirement = one document with at least one artboard;
    //  script.parent = carlos canto // 11/4/12;
    //  script.elegant = false;
     
    if (app.documents.length > 0) {
     
     
            //alert("more than 0");
                        var idoc = app.activeDocument;
     
     
            var title = "Resize All Artboards";
     
     
            var width = Number(Window.prompt ("Enter New Artboard Width in points", 612, title));
            var height = Number(Window.prompt ("Enter New Artboard Height in points", 792, title));
     
     
        for (i=0; i<idoc.artboards.length; i++) {
            var abBounds = idoc.artboards[i].artboardRect;// left, top, right, bottom
     
     
            var ableft = abBounds[0]; // 0
            var abtop = abBounds[1]; // 612
            var abwidth = abBounds[2] - ableft; // 792 // width
            var abheight = abtop- abBounds[3]; // 0 // height
            
            var abctrx = abwidth/2+ableft;
            var abctry = abtop-abheight/2;
                 
            var ableft = abctrx-width/2; 
            var abtop = abctry+height/2;
            var abright = abctrx+width/2; 
            var abbottom = abctry-height/2;
            
            idoc.artboards[i].artboardRect = [ableft, abtop, abright, abbottom];
        }
    }
     else  {
            alert ("there are no open documents");
    }
    
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 4:30 AM   in reply to CarlosCanto

    Genius Carlos!

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 10:04 AM   in reply to [scott w]

    thanks scott

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 10:11 AM   in reply to [scott w]

    [scott w] wrote:

     

    Genius Carlos!

    +1

     

    I'm sure I'll need this script too

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 10:54 AM   in reply to CarlosCanto
    // script.appreciated = true;
    

    Nice work, great script as always CarlosCanto, thanks for sharing your efforts.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 11:02 AM   in reply to W_J_T

    thanks emil

     

    -------------------------

    // script.appreciated = true;
    

     

    wjt, this was great, thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 1:45 PM   in reply to CarlosCanto

    That's a vrry good script but t does not allow you to resize certain artboards and not tohers and i you have to select certain artboards and not others you will eentually have to manually slect artboards, master artboartds would be ab better.

     

    However if someone had to do certain ones under current conditions one could draw a rectangle on one artboard then command copy the rectangle and either go from one artboard to the next that they needed changed and paste in place then selct all of thi=ose rectagles and go to Object>Artboards>Convert to Artboards

     

    Or draw one rectangle on one artboard and then copy and paste on all artboards and the deselect the ones you don't need with the command control click anthen convert the remaining selected to artboards then you use the artboard panel to delete the olderr version of the artboards.  The use the pnel to rearrange the artboards which will renumber the boards and respace them as well.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 5, 2012 3:35 PM   in reply to Wade_Zimmerman

    Wade_Zimmerman wrote:

     

    That's a vrry good script but t does not allow you to resize certain artboards and not tohers

    @ Wade

     

    You could recode it and setup a confirm in the loop to determine if you want to resize the current artboard in the iteration of the loop, if no then skip it, if yes then prompt for sizes and proceed. Then you could resize which ever ones you desire as such, some and not others. You could even distinguish with each confirm and prompt what artboard is being targeted by displaying its name. I tested this approach and it seems to work ok, but not super elegant of course, because if you have tons of artboards this would be a lot of prompts/input. You could lesson the prompts by combining the width/height into a single prompt. But then again even at that point its just as efficient to resize each manually via the ArtBoards Window, probably the same amount of work/user input when dealing with and targeting individual artboards. You could perhaps alternatively create a window script for multiple input for the desired artboards, perhaps based upon those which are selected and build your window dialog accordingly, I suppose at that point it would offer a more efficient approach for that type of thing which you seem to be describing.

     

    But having said all that we would then be way beyond the original request which CarlosCanto already so generously fulfilled. Perhaps he will have some further input on your comments.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 11:10 AM   in reply to W_J_T

    Hello, first, I'd just like to say that this is my first post in an Adobe forum, so please go easy if I'm not following protocol

     

    I came across this post as I, too, was looking for the same thing as karenf1. I had set up one Illustrator document with multiple artboards (30+) but maybe one slight difference to what has been discussed here is that all of my artboards have the same size. (It sounded like resizing multiple, differently-sized artboards was proving to be a difficulty) So, I was looking for a uniform way to enlarge both the artboards and the artwork on them. I tried CarlosCanto's script, which indeed enlarged the artboards, but it also brought up another point, and that was maintaining the space or the margin between each of the artboards, as they overlapped when I ran the script. Not sure if this is just another line of code that can be added to account for the margin in the resize, but I for one would find this very useful!

     

    Anyway, just wanted to add my two cents.

     

    Cheers.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 11:49 AM   in reply to rofisch

    rofisch,

     

    After running Carlos' script, simply choose Object > Artboards > Rearrange... 

     

    That will allow you to reset gutters and placement.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 11:57 AM   in reply to rofisch

    adding spacing might be implemented, not with a one line of code though....in the mean time you can go to the Artboards Palette, click on the Fly Out Menu and click on Rearrange Artboards....there you can enter your spacing.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 12:08 PM   in reply to CarlosCanto

    Ah, thanks, still a bit new to artboards. The Rearrange feature did fix the spacing issue that I was looking for; however, the art did not move correctly with the artboards. I'm wondering if it's because the artboards overlap from the script, and then once everything is rearranged, it's not associating the correct elements with the correct artboards? Versus if it were to be incorporated into the code and everything (the resize and the move) all occured at once it would then work?

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 12:08 PM   in reply to CarlosCanto

    hmm...forget what I said, spacing could be implemented on simple arrangements, 1 row, or 1 column for example, but it will hard to predict for a crazy multi-size, randomly arranged artboards...

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 12:46 PM   in reply to rofisch

    you're correct, the resized artboards are biting into the neighboring artboards art

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 12:57 PM   in reply to W_J_T

    I see that no one here seess the elegance of a new feature to have master artboatrds which would be the real solution to this problem.

     

    And since no one has shown that they think this would be a good diea I can tell you for sure with out backing from other users the chances of this feature coming to light is next to zero.

     

    Well done guys!

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 1:10 PM   in reply to Wade_Zimmerman

    Wade_Zimmerman wrote:

     

    I see that no one here seess the elegance of a new feature to have master artboatrds which would be the real solution to this problem. And since no one has shown that they think this would be a good diea I can tell you for sure with out backing from other users the chances of this feature coming to light is next to zero. Well done guys!

     

    Ah.... right, because hundreds of Adobe Developers are in fact standing by to immediately fulfill feature requests and get them implemented. However, they will get to this one as soon as they thumb through the hundreds of thousands of requests that are on back order. Your statement could be applied to so many feature ideas/requests for Adobe, both unique and already existing in other competitive software. But its funny that you choose to blame the users and not the company whom makes the software for falling short.

     

    Was that in fact sarcasim or a joke?

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 1:34 PM   in reply to W_J_T

    psst... symbols act pretty much exactly like master page items. You just have to use symbols. Some people think just becuase they suddenly have some sort of epiphany that no one else has ever thought of it or suggested it.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 2:02 PM   in reply to karenf1

    What about a Layer panel for each artboard.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 2:04 PM   in reply to Larry G. Schneider

    How to make a master arboard....

     

    1) Create the master items on an artboard.

    2) Draw a rectangle the size of the artboard, no fill, no stroke.

    3) Select all and drag to teh Symbol Panel

    4) Choose Edit > Cut

    5) Choose Edit > Paste on All Artboards

     

    There you go. When you need to edit the master items, double-click the symbol in the Symbol Panel.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 2:46 PM   in reply to Wade_Zimmerman

    Wade, Master Artboards is a great idea, but I don't know about you or anyone else here, me personally I have given up on Feature Requests or Bug Reports, unless someone from Adobe comes out saying the rule is for something to be taken seriously needs to have 100 signatures or 10 million signatures, then there's no point on insisting. No one from Adobe in the short period of time I've been coming to this forums has acknowledge the existence of our suggestions or complaints.

     

    I completely second W_J_T comments.

     

    is lack of backing in this forum going to kill the next great Illustrator feature? I doubt it

    is great support in this forum going to make the next great Illustrator feature happen? I doubt it

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 16, 2012 8:18 PM   in reply to CarlosCanto

    I have had a lot of success with feature request for instance the ability to name artboards.

     

    Yes if the argument is a good one and you tell them how it will save you time and improve your workflow even if you have to stand alone on the feature requesxt it can get done.

     

    For master artboard I tell them that I need this because I have a client that has certain type of printed matter that has to be reproduced for a number different distribution methods and it might have to the same content or a variety of content but thay may have to change in the future such as an art show for a Museum whhere there are several different pieces made as part of the package, announcements, invitations, rsvp cards, envelopes, posters and catalogue o rhe like. The exhibit might travel and be shown at a new venue another Musuem but it is under the auspices of the orginal program director and the Museum of orgin. The other museum might have different requirements based on their numbers of memebers and their mailing lists and sizes say of poster which say in New York can be large for say subway use as oposed to cit that only has bus routes and therefore only bus shelters and of course are probably of different dimensions. The difference in sizes of memebers and mailing lists might place the piece on a different press and might have to be a different size depending on the design.

     

    So be able to change the size of a master artboard would definitely be helpful and save times as gthere may mbe two or three versions for things like invitations or posters, so one loacion might have five posters of different content but for the same exhibit and the size display same with announcements some going tos udent bodies and some going to elite memebers and some going to corporate cnoributors and somw going the the general membership.

     

    So having one document in itself is handy and having the ability to make that docuemtn flexibile for future use is also a blessing.

     

    This is my argument for masterr artboards

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 19, 2014 4:58 AM   in reply to CarlosCanto

    I used this script in illustratorCS5.5 it's grate , Do you have any solution for Artbord spacing & Arboard content (shape) size/position not changing After the script runed ?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 19, 2014 7:46 AM   in reply to Moksha

    if the artboards are too close to each other and they overlap after running the script, try

     

    Object > Artboards > Rearrange...

     

    before running the script and give them enough space between artboards, then run the script

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points