diff --git a/src/Mod/Arch/ArchSite.py b/src/Mod/Arch/ArchSite.py index af9972709e..3d82d84ad3 100644 --- a/src/Mod/Arch/ArchSite.py +++ b/src/Mod/Arch/ArchSite.py @@ -281,7 +281,7 @@ class _CommandSite: siteobj = [] warning = False for obj in sel : - if Draft.getType(obj) == "Building": + if (Draft.getType(obj) == "Building") or (hasattr(obj,"IfcRole") and obj.IfcRole == "Building"): siteobj.append(obj) else : if link == True :