![](https://secure.gravatar.com/avatar/f4eb27cea7255cea4d1ffabf593372e8.jpg?s=120&d=mm&r=g)
"Hannes Hochreiner" <hannes@...2460...> writes:
I am not quit sure where your script fails. Do you have an example or can you provide more information about how it fails?
After further investigations, simple files seem to work. I tried to create a MWE but failed (to make it fail :)), and then started stripping my file down, and after some tearing down, the renumbering seemed to work ok. So I went back to the complex file, created two copies and renumbered one, and then ran a diff in emacs. There were minor unexpected differences (e.g. a layer name, most likely due to having to open and save the file in inkscape after renumbering, as lxml in Python saves in a different layout), so I copied those across to the renumbered file ensuring only the order number is changed.
To my surprise, the problem persists! Could there be a limit in the effect numbering (I believe the renumber gives a max order number 0f ~500, where it previously was ~240).
,---- | EDIT: I just tested the renumbering scheme to increment by steps of 1 | | instead of 10, and voila, it works! There seems to be a limitation in | | Jessyink on the effect order number. | `----
If it helps, I can send an anonymised version of the file(s) off-list.