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...
heathenx
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
Heathenx, this is a great wishlist! I'd love to have this feature on inkscape too.
On Dec 1, 2007 10:24 AM, Kurt Hutchinson <kelanslists@...155...> wrote:
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
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (3)
-
heathenx
-
iuri kothe
-
Kurt Hutchinson