[scribus] How to import SVG files using a script

Tornóci László tornoci.laszlo at med.semmelweis-univ.hu
Sun Jun 28 14:19:07 UTC 2015


On 06/28/2015 01:30 PM, Tornóci László wrote:

> Thanks for the advice, but of course, I've done it already, with no
> luck. That's why I ask. An undocumented importSVG function is mentioned
> here:
> http://wiki.scribus.net/canvas/Making_a_Pie_Chart
> but I get an error trying to use that (in scribus 1.4.5). There are lots
> of things you can do with scripts, but I am not even sure importing SVG
> files is supported at this time.

I've found the correct way in the meantime.

placeSVG(SVGFileName, posX, posY)

works fine in python scripts for scribus 1.4.5


More information about the scribus mailing list