• 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 break symbol and select Group

Explorer ,
Jul 14, 2021 Jul 14, 2021

Copy link to clipboard

Copied

after breaking the symbols link automatically symbols element diselecds, how to select a symbols group back after deselect?

 

 

var objs = app.activeDocument.selection;
for (i = 0; i < objs.length; i++) {
            var type = objs[i].typename;
            if (type == "SymbolItem") {
                objs[i].breakLink();
             }
        }

 

 

 

 
 
TOPICS
Scripting

Views

175

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
Participant ,
Jul 14, 2021 Jul 14, 2021

Copy link to clipboard

Copied

 app.executeMenuCommand("selectall");

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
Community Expert ,
Jul 14, 2021 Jul 14, 2021

Copy link to clipboard

Copied

Hi @BRODZELi, when I run your code it doesn't deselect the "broken symbols"—they stay selected. I'm using AI 25.3.1.

 

Screen Shot 2021-07-15 at 7.51.47 am.png

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
Contributor ,
Jul 15, 2021 Jul 15, 2021

Copy link to clipboard

Copied

LATEST

Hi,

 

I  usually create a new layer before breaking the link. The artwork can be found as the first groupItem in that layer

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