BIM: Fix imports of Python importers

This commit is contained in:
Chris Mayo
2024-11-04 19:24:27 +00:00
committed by Yorik van Havre
parent 4c50f29442
commit 04eb73bea4
4 changed files with 6 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ class BIM_IfcExplorer:
def insert(self):
"inserts selected objects in the active document"
import importIFC
from importers import importIFC
from PySide import QtCore, QtGui
doc = FreeCAD.ActiveDocument

View File

@@ -588,7 +588,7 @@ class BIM_Library_TaskPanel:
todo.delay(self.reject, None)
elif ext == ".ifc":
import importIFC
from importers import importIFC
importIFC.ZOOMOUT = False
importIFC.insert(path, FreeCAD.ActiveDocument.Name)