From 1bf1e260240b31ca2e7dbdce0c1608fae0f7b2c6 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 8 Jul 2018 17:34:11 -0300 Subject: [PATCH] Arch: added IfcPRoperties to BuildingParts --- src/Mod/Arch/ArchBuildingPart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py index 765869e363..b1e5fbfc19 100644 --- a/src/Mod/Arch/ArchBuildingPart.py +++ b/src/Mod/Arch/ArchBuildingPart.py @@ -172,6 +172,8 @@ class BuildingPart: obj.addProperty("App::PropertyMap","IfcAttributes","Component",QT_TRANSLATE_NOOP("App::Property","Custom IFC properties and attributes")) if not "Shape" in pl: obj.addProperty("Part::PropertyPartShape","Shape","BuildingPart",QT_TRANSLATE_NOOP("App::Property","The shape of this object")) + if not "IfcProperties" in pl: + obj.addProperty("App::PropertyMap","IfcProperties","Component",QT_TRANSLATE_NOOP("App::Property","Stores IFC properties")) self.Type = "BuildingPart" def onDocumentRestored(self,obj):