Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

UNLINKING SYMBOLS INSTANCES

$
0
0

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


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>