DocumentArtboardLayout under app.documents.add is broken
var aDoc = app.documents.add(DocumentColorSpace.CMYK, 612.0, 792.0, 3, DocumentArtboardLayout.GridByCol, 40.0, 1);
Running the above script.jsx GridByCol broken. I get two rows, should be a single column. Changed GridByCol to GridByRows and also outputs 2 rows of artboards. DocumentArtboardLayout is broken.
2
votes
Ace
shared this idea
-
Ace commented
Illustrator is changing the locations of Artboards 2 & 3 when GridByCol is Changed to GridByRow however I have clearly defined only 1 column or 1 row after the 40 points of spacing declaration.
That output is unexpected giving me two rows.