project.assign_declaration - support batching #4474

This commit is contained in:
Andrej730
2024-05-03 14:37:59 +05:00
parent a973b62918
commit de690a385c
19 changed files with 182 additions and 70 deletions
@@ -84,7 +84,7 @@ class Usecase:
ifcopenshell.api.run(
"project.assign_declaration",
self.file,
definition=work_plan,
definitions=[work_plan],
relating_context=context,
)
return work_plan