On 11/24/06, cedric GEMY <radar.map35@...8...> wrote:
my purpose was exactly to export groups, only. See the release Notes if you want o know why.
I don't see how your code fits that explanation, in particular the icons example. There may be much more groups in an icons file (examine our own icons.svg for example), not only the top-level groups corresponding to icons. Icons may contain some inner groups, which will get exported too. On the other hand, some simple icons may be represented by a single shape, not a group. And finally, I may want to export not ALL icons in the file but only some of them (more than one but not all). Your code can't do this either.
i don't understand what your proposal have different from the export to bitmap dialog (option "selection" checked)
It is different in that it exports each selected object SEPARATELY, creating as many PNG files as you have objects selected.