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

How to make non-outlined shape?

Explorer ,
Dec 24, 2018 Dec 24, 2018

Copy link to clipboard

Copied

I create a shape and set it's width to 0 by doing this:

var sh = app.activeDocument.pathItems.rectangle(...);

sh.strokeWidth = 0;

But created shape still has outline color and still visible in the artboard. Why does it happen?

Untitled-1.jpg

TOPICS
Scripting

Views

514

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

Community Expert , Dec 24, 2018 Dec 24, 2018

Hi andyf65867865​

the world could be so easy …

var sh = app.activeDocument.pathItems.rectangle(0,0,400,400);

//sh.strokeWidth = 0;

sh.stroked = false;

sh.filled = false;

Have fun and

Merry Christmas

Votes

Translate

Translate
Adobe
Community Expert ,
Dec 24, 2018 Dec 24, 2018

Copy link to clipboard

Copied

Hi andyf65867865​

the world could be so easy …

var sh = app.activeDocument.pathItems.rectangle(0,0,400,400);

//sh.strokeWidth = 0;

sh.stroked = false;

sh.filled = false;

Have fun and

Merry Christmas

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 ,
Dec 24, 2018 Dec 24, 2018

Copy link to clipboard

Copied

LATEST

Merry Christmas!

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