diff --git a/src/Mod/BIM/bimcommands/BimProjectManager.py b/src/Mod/BIM/bimcommands/BimProjectManager.py index a22e349a8d..93c0296850 100644 --- a/src/Mod/BIM/bimcommands/BimProjectManager.py +++ b/src/Mod/BIM/bimcommands/BimProjectManager.py @@ -124,6 +124,7 @@ class BIM_ProjectManager: if not buildings: buildings = [o for o in doc.Objects if getattr(o, "IfcType", "") == "Building"] if buildings: + from nativeifc import ifc_tools self.building = buildings[0] self.form.buildingName.setText(self.building.Label) levels = ifc_tools.get_children(self.building, ifctype="IfcBuildingStorey")