From 14c8047e8c6393429a7d3eebfe71e5da90053473 Mon Sep 17 00:00:00 2001 From: leyghisbb Date: Fri, 11 Sep 2020 11:55:25 +0200 Subject: [PATCH] Cleaned import name --- extensions/fablabchemnitz/dxfdwgimporter/dxfdwgimporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/dxfdwgimporter/dxfdwgimporter.py b/extensions/fablabchemnitz/dxfdwgimporter/dxfdwgimporter.py index db84c10d..65dfc858 100644 --- a/extensions/fablabchemnitz/dxfdwgimporter/dxfdwgimporter.py +++ b/extensions/fablabchemnitz/dxfdwgimporter/dxfdwgimporter.py @@ -349,7 +349,7 @@ class DXFDWGImport(inkex.Effect): p = etree.XMLParser(huge_tree=True) doc = etree.parse(stream, parser=etree.XMLParser(huge_tree=True)).getroot() stream.close() - doc.set('id', self.svg.get_unique_id('dxf_dwg_import')) + doc.set('id', self.svg.get_unique_id("dxf_dwg_import-" + self.options.dxf_to_svg_parser + "-")) self.document.getroot().append(doc) #get children of the doc and move them one group above - we don't do this for bjnortier tool because this has different structure which we don't want to disturb