flow360.component.simulation.draft_context.DraftContext.body_groups

flow360.component.simulation.draft_context.DraftContext.body_groups#

property DraftContext.body_groups: EntityRegistryView

Return the list of body groups in the draft.

Example

>>> with fl.create_draft(new_run_from=geometry) as draft:
...     draft.body_groups["body_group_1"]
...     draft.body_groups["body_group*"]