Skip to main content
Known Participant
November 2, 2010
Question

UNLINKING SYMBOLS INSTANCES

  • November 2, 2010
  • 1 reply
  • 3867 views

hI,

I would like to unlink all symbols instances used in a file.

I have tried something that does not work. The script does not unlink because I am stuck at this step.

#target illustrator


var doc=activeDocument;

UnlinkAll(doc);
function UnlinkAll(doc){
     var SLen=doc.symbols.length-1;
     for (si=SLen;si>-1;si--){
   alert(doc.symbolItems.getByName(doc.symbols[si])) ;

     return true;
     }
}

JPD

This topic has been closed for replies.

1 reply

Muppet_Mark-QAl63s
Inspiring
November 2, 2010

Is there a method for 'Unlinking' symbol instances?

Larry G. Schneider
Community Expert
Community Expert
November 2, 2010

Not that I can see.


Muppet_Mark-QAl63s
Inspiring
November 2, 2010

I even checked in the scripting docs for newer versions that what I have and nothing had changed… In the GUI you could remove the symbol from the palette but you would be prompted for how you wish to handle it… I have not tried this with script and dialogs off…