mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
fix ruff
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user