add_managed_instance#
- ParametricDesignStudy.add_managed_instance(instance: ManagedInstance, execution_block_idx: int | None = None, execution_option: ExecutionOption = <ExecutionOption.ACTIVE: 1>) None#
Add a managed instance to the design study.
- Parameters:
- instance
ManagedInstance The managed instance to be added.
- execution_block_idx
int,optional The index of the execution block to which the instance should be added. If not provided, new execution block is created at the end of the execution order.
- execution_option
ExecutionOption,optional The execution option for the instance. Default is ExecutionOption.ACTIVE.
- instance
- Raises:
IndexErrorIf the provided execution block index is out of range.