This commit is contained in:
Andrej
2025-06-10 10:34:14 +05:00
parent 862119834f
commit a37d46ca3d
4 changed files with 28 additions and 17 deletions
@@ -1592,7 +1592,7 @@ def remove_deep2(
if not are_inverses_contained():
return
to_delete = set()
to_delete: set[ifcopenshell.entity_instance] = set()
subgraph = list(ifc_file.traverse(element, breadth_first=True))
subgraph.extend(also_consider)
subgraph_set = set(subgraph)