mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Whoops
This commit is contained in:
@@ -1057,6 +1057,8 @@ class Selector:
|
|||||||
value = ifcopenshell.util.element.get_container(value, ifc_class="IfcBuilding")
|
value = ifcopenshell.util.element.get_container(value, ifc_class="IfcBuilding")
|
||||||
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":
|
||||||
|
element = ifcopenshell.util.element.get_parent(element)
|
||||||
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