Copy link to clipboard
Is it possible to place .svg file with script inside Illustrator?
Using .. docR.placedItems.add()...
I am getting error message "'The file "FileName.svg" is in a format which cannot be placed'".
I have found on the forum and stackoverflow this solution:
var svgFile = File.openDialog("Select File to place...");
var doc = app.activeDocument;
doc. groupItems.createFromFile( svgFile );
If someone has something else to add welcome?
Hi @livl17017666, no you've found the answer. Illustrator doesn't seem to let us place SVGs as links. You could check out my answer here for an unusual use case, but what you've got is basically the whole answer.