Merge pull request #9445 from Roy-043/Draft-use-convert_draft_texts-in-importDXF.py
Draft: use convert_draft_texts in importDXF.py
This commit is contained in:
@@ -2729,7 +2729,7 @@ def open(filename):
|
|||||||
FreeCAD.setActiveDocument(doc.Name)
|
FreeCAD.setActiveDocument(doc.Name)
|
||||||
import Import
|
import Import
|
||||||
Import.readDXF(filename)
|
Import.readDXF(filename)
|
||||||
Draft.convertDraftTexts() # convert annotations to Draft texts
|
Draft.convert_draft_texts() # convert annotations to Draft texts
|
||||||
doc.recompute()
|
doc.recompute()
|
||||||
|
|
||||||
|
|
||||||
@@ -2771,7 +2771,7 @@ def insert(filename, docname):
|
|||||||
else:
|
else:
|
||||||
import Import
|
import Import
|
||||||
Import.readDXF(filename)
|
Import.readDXF(filename)
|
||||||
Draft.convertDraftTexts() # convert annotations to Draft texts
|
Draft.convert_draft_texts() # convert annotations to Draft texts
|
||||||
doc.recompute()
|
doc.recompute()
|
||||||
|
|
||||||
def getShapes(filename):
|
def getShapes(filename):
|
||||||
|
|||||||
Reference in New Issue
Block a user