mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Whoops x2
This commit is contained in:
@@ -1058,7 +1058,7 @@ class Selector:
|
|||||||
elif key == "site":
|
elif key == "site":
|
||||||
value = ifcopenshell.util.element.get_container(value, ifc_class="IfcSite")
|
value = ifcopenshell.util.element.get_container(value, ifc_class="IfcSite")
|
||||||
elif key == "parent":
|
elif key == "parent":
|
||||||
element = ifcopenshell.util.element.get_parent(element)
|
value = ifcopenshell.util.element.get_parent(value)
|
||||||
elif key in ("types", "occurrences"):
|
elif key in ("types", "occurrences"):
|
||||||
value = ifcopenshell.util.element.get_types(value)
|
value = ifcopenshell.util.element.get_types(value)
|
||||||
elif key == "count":
|
elif key == "count":
|
||||||
|
|||||||
Reference in New Issue
Block a user