add_execution_block#
- ParametricDesignStudy.add_execution_block(block: ExecutableBlock, index: int | None = None) None#
Add a new execution block to the design study.
- Parameters:
- block
ExecutableBlock The execution block to be added.
- index
int,optional The index at which to insert the new execution block. If not provided, the block is added at the end of the execution order.
- block
- Raises:
IndexErrorIf the provided index is out of range.
Notes
If managed instances in the new block are not already part of the design study, they will be added to the managed instances list.