Skip to content
Berteh edited this page Mar 18, 2014 · 20 revisions

svg-objects-export

Usage examples

Interesting usage examples to integrate in your own workflows: (please contribute!)

  • To export all "group" objects with an id or label that has been modified in inkscape, as long as the id and label don't match: ./svg-objects-export.py --xpath "//svg:g[@inkscape:label!=@id]" input.svg

  • To export all layers of a file: `./svg-objects-export.py --xpath "//svg:g[@inkscape:groupmode='layer']" input.svg

Clone this wiki locally