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

Adding attributes to Path items/ items in Adobe Illustrator using Script

New Here ,
Feb 25, 2020 Feb 25, 2020

I have a path item say line, and another line duplicate copy of the same line is added as dashed line in new layer. So that the line appears to be striked.

 

Is there a way to establish a relation to both the lines as am planning to write a script such that the lines marked as striked needs to be removed from the file.

TOPICS
Draw and design , Scripting , Tools
447
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 ,
Feb 25, 2020 Feb 25, 2020

yes you can, the easiest is to give them names, but you can also add Tags to them (same as Notes in the UI)

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
New Here ,
Feb 26, 2020 Feb 26, 2020

Can you give me some examples  or sample links ?

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 ,
Feb 26, 2020 Feb 26, 2020
LATEST

select one of your lines manually, then run this script

 

selection[0].name = 'delete me later';

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