Home › Evil Mad Scientist Forums › AxiDraw › What attribute to use as layer name in SVG for axicli › Reply To: What attribute to use as layer name in SVG for axicli
April 11, 2020 at 9:21 am
#28309
Windell Oskay
Keymaster
The layer feature is set up to work such that if you created a document in Inkscape that had layers, it would work. If you’re hand-coding SVG, you’ll need to emulate that structure. Some of our AxiDraw example files include layers. You can open up those files in a text editor and look at how they are structured.
An Inkscape layer is a g
element with attribute inkscape:groupmode="layer"
. The layer name is specified by an attribute like inkscape:label="1-Yellow"
.