mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix #4300. You can now select spatial elements by their location too.
This commit is contained in:
@@ -507,6 +507,8 @@ class FacetTransformer(lark.Transformer):
|
||||
|
||||
def filter_function(element):
|
||||
container = ifcopenshell.util.element.get_container(element)
|
||||
if not container:
|
||||
container = ifcopenshell.util.element.get_aggregate(element)
|
||||
containers = self.get_container_tree(container)
|
||||
result = False if containers else None
|
||||
for container in containers:
|
||||
|
||||
Reference in New Issue
Block a user