gotcha

Author Topic: Layer SVG ID  (Read 667 times)

October 05, 2018, 07:36:58 AM
Read 667 times

jbravo

  • Sr. Newbie

  • Offline
  • **

  • 5
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!
  • Inkscape 0.92
  • Windows 10

October 06, 2018, 02:29:12 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
The SVG code on the right looks incomplete. How did you save the file?

October 08, 2018, 07:22:12 AM
Reply #2

jbravo

  • Sr. Newbie

  • Offline
  • **

  • 5
I saved it as a Plain SVG. I need the layer name to be referenced by the ID group.

Thanks!
  • Inkscape 0.92
  • Windows 10

October 08, 2018, 03:41:21 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
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.

October 08, 2018, 03:42:51 PM
Reply #4

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
(i.e. you can label two layers with the same label, but they *must* have different IDs)

October 09, 2018, 07:32:23 AM
Reply #5

jbravo

  • Sr. Newbie

  • Offline
  • **

  • 5
That worked.....Thanks for the help!
  • Inkscape 0.92
  • Windows 10