Create shape when making new doc in illustrator

New Here ,
May 31, 2022 May 31, 2022

Copy link to clipboard

Copied

Is there a way to tell illustrator to create a shape that is the same size as the art board when creating a new doc? 

EX: I'm creating a wall wrap that is 158x103.

- I start by creating a new file with the art board set at those dimensions.  

- The I have to create a box that is the same size as the art board. 

 

My Question - Can illustrator create a shape to the art board size automatically without me having to put the document size in twice? 

TOPICS
Draw and design , Feature request , How to , Scripting , Third party plugins , Tools

Views

74

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
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , May 31, 2022 May 31, 2022
That would be a nice feature for the rectangle tool.:) Best you can do without scripting,  is with any document in correct color mode open select and delete all create a rectangle to size  artboard tool>> fit to selected art save as to a new filename

Likes

Translate

Translate
Adobe Community Professional ,
May 31, 2022 May 31, 2022

Copy link to clipboard

Copied

yes, it's possible with a script. Are you trying to write your own scripts?

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
community guidelines
New Here ,
May 31, 2022 May 31, 2022

Copy link to clipboard

Copied

Potenitally - Not sure how to set that funtionality though 

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
community guidelines
Adobe Community Professional ,
May 31, 2022 May 31, 2022

Copy link to clipboard

Copied

That would be a nice feature for the rectangle tool.:)

 

Best you can do without scripting,  is with any document in correct color mode open

  1. select and delete all
  2. create a rectangle to size 
  3. artboard tool>> fit to selected art
  4. save as to a new filename

 

MikeGondek_0-1654017735155.png

 

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
community guidelines
New Here ,
May 31, 2022 May 31, 2022

Copy link to clipboard

Copied

Thanks!

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
community guidelines
Advisor ,
May 31, 2022 May 31, 2022

Copy link to clipboard

Copied

LATEST

If all you want is a rectangle the same size as the artboard, that can be done with one line of code.

app.activeDocument.pathItems.rectangle(0, 0, app.activeDocument.width, app.activeDocument.height);

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
community guidelines