• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

Using large size artboard will scale the item?

Explorer ,
Aug 31, 2023 Aug 31, 2023

Copy link to clipboard

Copied

I created a large size artboard and inserted a rectange, I found the size of rectange will be scaled by 10 times.

 

var app = new Illustrator.Application();
var doc = app.Documents.Add(
    Illustrator.AiDocumentColorSpace.aiDocumentCMYKColor,
    27040,
    14810);
var item = doc.PathItems.Rectangle(762.5, 87.5, 300, 100); // width 300pt

James23069990fqkl_0-1693538273956.png

 

 

the width of the rect is 3000pt but it should be 300pt.

TOPICS
Bug , Scripting , SDK

Views

105

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 Expert ,
Aug 31, 2023 Aug 31, 2023

Copy link to clipboard

Copied

Hi @LoveYou阿逗逼6666, yes this is how Large Size Documents works from the scripting API point of view. In Large Size Documents you must take the Document.scaleFactor into account to calculate final sizes. - Mark

Votes

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
Explorer ,
Aug 31, 2023 Aug 31, 2023

Copy link to clipboard

Copied

you are right! can i disable the scale feature?

Votes

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
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Copy link to clipboard

Copied

I think you must make a new document that isn't as large. There is a threshold where if you make the document size too large it becomes a "Large Document".

Votes

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
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Copy link to clipboard

Copied

LATEST

Here is info about Large Canvas. - Mark

Votes

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