diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py index a02172e3f2..5bfade5c82 100644 --- a/src/Mod/Arch/ArchBuildingPart.py +++ b/src/Mod/Arch/ArchBuildingPart.py @@ -376,7 +376,7 @@ class BuildingPart(ArchIFC.IfcProduct): self.svgcache = None self.shapecache = None - if (prop == "Height") and prop.Height.Value: + if (prop == "Height") and obj.Height.Value: for child in obj.Group: if Draft.getType(child) in ["Wall","Structure"]: if not child.Height.Value: