From 69ff96cce8eea399eacb2dce9288d010fa7cd9f5 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 17 Jun 2019 14:04:32 -0300 Subject: [PATCH] Arch: small bugfix in automatic IFC properties --- src/Mod/Arch/ArchIFC.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Arch/ArchIFC.py b/src/Mod/Arch/ArchIFC.py index 45baa0728c..c44e036ec9 100644 --- a/src/Mod/Arch/ArchIFC.py +++ b/src/Mod/Arch/ArchIFC.py @@ -103,6 +103,8 @@ def addIfcAttributeValueExpressions(obj, attribute): "Binds the given attribute properties with expressions" + if not attribute["name"] in obj.PropertiesList: + return if obj.getGroupOfProperty(attribute["name"]) != "IFC Attributes": return if attribute["name"] == "OverallWidth":