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

Help on Illustrator Script, Create New path object based on selection

New Here ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

Hi,

i am trying to create a jsx script for illustrator which will create a new compound path base on selection.

i tried to use the app.activeDocument.selection to create the compound path, but some objects are not selected which needs to be extracted from the result. hope the images below is clarifying my request. how can i exclude the non selected objects from the result?Selection.pngExpectation.png

TOPICS
Scripting

Views

117

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 ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

quote
… how can i exclude the non selected objects from the result?

By @sharose creations

 

Long answer: I'm afraid not at all.
Counter question: How would you solve the task manually?

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
New Here ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

LATEST

Hi, currently i am doing this by selecting each elements 1 by 1 and use the pathfinder to substract.

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