Search found 1 match
- Fri Nov 22, 2013 6:22 am
- Forum: Programming
- Topic: Setting document units in Python doesn't stick
- Replies: 0
- Views: 1991
Setting document units in Python doesn't stick
I'm working on a Python Inkscape Extension. I would like to set the document's units to, for example, 'mm' rather than 'px', based on the extension settings (and yes, I know about share\templates\default.svg) This code fragment namedView = self.document.getroot().find(inkex.addNS('namedview', 'sodip...