Resize artboard illustrator10/2/2023 ![]() 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. 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.īut since the feature does not exist you have to go with Scott's answer. So if the suggestion is the resize all slect artboards this problem to would have to be overcome. One of the major problems with this is that you can only select one artboard at a time, on the canvas that is. 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. PS: If you still need help in the conversion, let us know and if someone doesn't get to it first, I'll try to help.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. Public Sub DrawBorderPcnt(app As AI.Application, abMargin As Double)ĭim aDoc As AI.Document = app.ActiveDocumentĭim height = -(vb(3) - vb(1)) 'bottom-top I'm sure that I am missing something that someone else may spell out.ĥ) Lastly (thank goodness) in the future, you may be better served by opening a new discussion and referencing the old discussion link. While the documentation states a zero-based array value, in my testing I could only get it work as a 1-base array. While I could have made the code a little cleaner with less variables, I thought that spelling it out may help you understand the logic better.Ĥ) I noticed in a previous post's example the use of Artboards(0). I beileve that it works back to CS5, but I forget when (what version) the vertical scale was changed so before that it probably needs some adjustment.ģ) I used the variable abMargin to allow you to adjust easily the percentage that you desire in margins for your artboard. Since you chose a "square" excample, you may or may not have considered that.Ģ) This has been tested on CS6. At minimum, you'll understand the differences a little bit.ġ) You may or may not find that you desire a consistent margin on a rectangular-dimensioned collection of pathitems. OK - this will challange you a little bit, in that you have to do a little conversion from VB.NET to JS, but this should do the trick for you. Does anyone know how to point the JS at a folder? Var myVisibleBounds = doc.visibleBounds //Rect, which is an array ĭoc.artboards.artboardRect = myVisibleBounds īut this is limited, since you can only load so many files at once into Illustrator. It's helpful to know that the left value and the bottom value begin at zero thus, when you want to add space to the artboard, you need negative numbers, as shown. Keep in mind that the values are in the sequence are: left, top, right, and bottom dimensions.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |