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

placedItem file (re)placement failure in Javascript

$
0
0

Greetings,

 

While scripting some automated placedItem replacements, I stumbled upon some issues with the feature failing in specific cases.

While most of them ended up working somehow at a later date, this one still fails:

 

Namely, the placing of an SVG image using a script. More specifically, I replace an existing graphic with one from an SVG image.

It doesn't matter whether I try to place it or replace an existing image, Adobe pops up with the following helpful error message:

'The file "TEST.svg" is in a format which cannot be placed'

 

Naturally, the test-image has been created using illustrator itself, and manually placing OR replacing the file through the interface 'just' works.

 

Should I be dropping this in a bug-report forum or is here ok?

Or are there specific demands for placeable SVGs?


Viewing all articles
Browse latest Browse all 12845

Latest Images

Trending Articles



Latest Images

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