Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: jbravo on October 05, 2018, 07:36:58 AM

Title: Layer SVG ID
Post by: jbravo on October 05, 2018, 07:36:58 AM
Hey,

Is there a setting I need to change so that the plain SVG layer id name is reflects the layer name in the Inkscape file?

Thanks!
Title: Re: Layer SVG ID
Post by: Moini on October 06, 2018, 02:29:12 PM
The SVG code on the right looks incomplete. How did you save the file?
Title: Re: Layer SVG ID
Post by: jbravo on October 08, 2018, 07:22:12 AM
I saved it as a Plain SVG. I need the layer name to be referenced by the ID group.

Thanks!
Title: Re: Layer SVG ID
Post by: Moini on October 08, 2018, 03:41:21 PM
Then you need to change the id of the layer, instead of its label, in Inkscape. This is currently only possible via XML editor (Edit > XML editor). There's no automatic conversion between both.
Title: Re: Layer SVG ID
Post by: Moini on October 08, 2018, 03:42:51 PM
(i.e. you can label two layers with the same label, but they *must* have different IDs)
Title: Re: Layer SVG ID
Post by: jbravo on October 09, 2018, 07:32:23 AM
That worked.....Thanks for the help!