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

Access vertices or shapes made by pen tool via extendscript

Community Beginner ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

I am trying to come up with a way to round corners (simillar to rectangale roundness) of custom shapes made with pen tool. But first I would like to know if there any way at all to access and change the path data via script or expression? I was checking docs and haven't found much 

TOPICS
Expressions , Scripting

Views

129

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 , Mar 08, 2023 Mar 08, 2023

You can access path data via both scripts and expressions, although the syntax is somewhat different. With expressions, you use the path.points(), path.inTangents(), and path.outTangents() methods. With scripting you access a shape object and use the shape.vertices, shape.inTangents and shape.outTangents attributes. Everything you need is in the AE Help or AE Scripting Guide.

Votes

Translate

Translate
Community Expert ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

LATEST

You can access path data via both scripts and expressions, although the syntax is somewhat different. With expressions, you use the path.points(), path.inTangents(), and path.outTangents() methods. With scripting you access a shape object and use the shape.vertices, shape.inTangents and shape.outTangents attributes. Everything you need is in the AE Help or AE Scripting Guide.

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