FilledOpeningGenerator - update only parts instead of the full decomposition

similar to 0662b0c
This commit is contained in:
Andrej730
2025-01-16 17:16:45 +05:00
parent 50b39fdd10
commit de6e54040a
@@ -161,7 +161,7 @@ class FilledOpeningGenerator:
voided_objs = [voided_obj]
# Openings affect all subelements of an aggregate
for subelement in ifcopenshell.util.element.get_decomposition(element):
for subelement in tool.Aggregate.get_parts_recursively(element):
subobj = tool.Ifc.get_object(subelement)
if subobj:
voided_objs.append(subobj)