wandererfan wrote: ↑Thu Nov 15, 2018 2:07 pm
DrawingWB puts a <g id="Viewxxx"> around each View on the exported Page. Do you need id's for each View or 1 for the whole page?
1 for the whole page would be fine in my view. Although having unique IDs for each view would offer very fine grained control. For example you could have different views in techdraw appearing on different layers in inkscape, allowing turning off and on for easier editing.
wandererfan wrote: ↑Thu Nov 15, 2018 2:07 pm
I hand-edited the attached TD export file to add a <g id='MyPage'> ....</g> around the body of the code. Is this what you're looking for?
Yes, I've attached the 'paperspace' svg referencing in your file to demonstrate.
wandererfan wrote: ↑Thu Nov 15, 2018 2:07 pm
Much easier to do this in Drawing since it "hand crafts" the Svg code. In TechDraw we call a Qt function that "paints" the current scene to a file as Svg. We'll have to post process the output Svg file to insert group tag(s) with id elements.
I see. So is there a way to do this post processing automatically on save? I worry because the drawing wb will eventually be deprecated as I understand, and this is really important functionality to harness the power of inkscape in a good workflow.