On Nov 30, 2007 8:03 PM, heathenx <heathenx@...155...> wrote:
I have two items in Inkscape 0.45-1. Each item is on a separate layer. When I group them together they become grouped on the same layer. Is there a way to group items yet retain their layer state so that I can control visibility? Hmm...
The difficulty is the XML. Groups are done as a DOM node with all of the items in the group as child nodes. Layers aren't part of the SVG spec, so Inkscape implements them as a special kind of group (a group node with special attributes). The reason you can't have a group spread across layers is because group's DOM node would have to be a child of two layer DOM nodes simultaneously, which is impossible.
I can't think of a workaround, either. Maybe someone else will have an idea.
Kurt