This commit is contained in:
Andrej730
2026-01-26 12:16:33 +05:00
parent d4d10b2eb5
commit 4edcad13b8
+1 -1
View File
@@ -1096,7 +1096,7 @@ class Model(bonsai.core.tool.Model):
# TODO Is this correct to assume one child? I really # TODO Is this correct to assume one child? I really
# don't understand the linked aggregates and array # don't understand the linked aggregates and array
# behaviour. # behaviour.
child_element = list(old_to_new.values())[0][0] child_element = next(iter(old_to_new.values()))[0]
child_obj = tool.Ifc.get_object(child_element) child_obj = tool.Ifc.get_object(child_element)
# add child pset # add child pset