This commit is contained in:
Andrej730
2025-03-26 17:10:46 +05:00
parent 2e61532919
commit a3c5c0ce43
@@ -78,7 +78,7 @@ def get_element_systems(element: ifcopenshell.entity_instance) -> list[ifcopensh
def get_element_zones(element: ifcopenshell.entity_instance) -> list[ifcopenshell.entity_instance]:
results = []
for rel in element.HasAssignments:
if rel.is_a("IfcRelAssignsToGroup"):
if not rel.is_a("IfcRelAssignsToGroup"):
continue
group = rel.RelatingGroup
if not group.is_a("IfcZone"):