Draft: dwg-export: allow overwriting of files

This commit is contained in:
lorenz
2020-04-11 11:16:05 +02:00
committed by Yorik van Havre
parent 587781221c
commit e6266e2716

View File

@@ -261,7 +261,7 @@ def convertToDwg(dxffilename, dwgfilename):
import shutil
if shutil.which("dxf2dwg"):
proc = subprocess.Popen(("dxf2dwg", dxffilename, "-o", dwgfilename))
proc = subprocess.Popen(("dxf2dwg", dxffilename, "-y", "-o", dwgfilename))
proc.communicate()
return dwgfilename