From d4c45adf8e0052679ca11ea013579e84981ecf77 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 23 Feb 2023 16:55:28 +0100 Subject: [PATCH] Arch: building part object, use IFC standard typ as initial IfcType --- src/Mod/Arch/ArchBuildingPart.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py index 9801cfca61..8047e6758a 100644 --- a/src/Mod/Arch/ArchBuildingPart.py +++ b/src/Mod/Arch/ArchBuildingPart.py @@ -204,10 +204,7 @@ def makeBuildingPart(objectslist=None,baseobj=None,name="BuildingPart"): #obj = FreeCAD.ActiveDocument.addObject("App::FeaturePython","BuildingPart") obj.Label = translate("Arch","BuildingPart") BuildingPart(obj) - # if no IfcType is set it will be the first in the available - # Annotation in IFC2x3 and Actuator in IFC4, both is certainly wrong - # use Undefined ATM - obj.IfcType = "Undefined" + obj.IfcType = "Building Element Part" if FreeCAD.GuiUp: ViewProviderBuildingPart(obj.ViewObject) if objectslist: