mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 11:24:19 +00:00
Fixed version of f3f7939c8b + get_element_zones
This commit is contained in:
@@ -347,6 +347,8 @@ def _get_element_value(element: ifcopenshell.entity_instance, keys: list[str]) -
|
||||
value = ifcopenshell.util.element.get_groups(value)
|
||||
elif key == "system":
|
||||
value = ifcopenshell.util.system.get_element_systems(value)
|
||||
elif key == "zone":
|
||||
value = ifcopenshell.util.system.get_element_zones(value)
|
||||
elif key in ("x", "y", "z", "easting", "northing", "elevation") and hasattr(value, "ObjectPlacement"):
|
||||
if getattr(value, "ObjectPlacement", None):
|
||||
matrix = ifcopenshell.util.placement.get_local_placement(value.ObjectPlacement)
|
||||
|
||||
Reference in New Issue
Block a user