From 753d7600b8e41bc543b45ad16431884bfcc434a0 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 16 Dec 2021 16:12:03 +0100 Subject: [PATCH] Draft: Added INSUNITS to exported DXF - Fixes #4517 --- src/Mod/Draft/importDXF.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index 0c2ffaf82f..76d5664664 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -3668,6 +3668,7 @@ def export(objectslist, filename, nospline=False, lwPoly=False): # add global variables if hasattr(dxf,"header"): dxf.header.append(" 9\n$DIMTXT\n 40\n"+str(Draft.getParam("textheight", 20))+"\n") + dxf.header.append(" 9\n$INSUNITS\n 70\n4\n") for ob in exportLayers: if ob.Label != "0": # dxflibrary already creates it ltype = 'continuous'