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

resizing round corners

New Here ,
Nov 15, 2018 Nov 15, 2018

I have a script that resizes the Art and the Artboard.

The problem is that a don't know how to set the Scale Round Corners value by script.

Can anyone help me?

TOPICS
Scripting
369
Translate
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 ,
Nov 15, 2018 Nov 15, 2018

Hi paulocarvalho,

this is not scriptable.

But you can use this workaround: Setting Scale Corners in a script

Have fun

Translate
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
Advocate ,
Nov 16, 2018 Nov 16, 2018

Salut !

Arrondis à partir d'un effet ?

exemple avec resize :

var obj = activeDocument.pathItems[0];

var ech = 50;

var dupliqObj = obj.duplicate(activeDocument,ElementPlacement.PLACEATEND);

    obj.resize(ech,ech,true,true,true,undefined,ech,Transformation.CENTER);

resize.PNG
De elleere

Translate
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 ,
Nov 16, 2018 Nov 16, 2018
LATEST

Sorry renél80416020

wrong example.

Transformation.CENTER does never works correct with your (star) example

Translate
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