ParametricDesignStudy#

class ansys.optislang.parametric.design_study.ParametricDesignStudy(osl_instance: Optislang, managed_instances: Iterable[ManagedInstance], execution_blocks: Iterable[ExecutableBlock] | None = None)#

Custom mutable design study with full structural modification API.

Methods

ParametricDesignStudy.add_execution_block(block)

Add a new execution block to the design study.

ParametricDesignStudy.add_managed_instance(...)

Add a managed instance to the design study.

ParametricDesignStudy.contains_proxy_solver()

Get info whether workflow contains proxy solver.

ParametricDesignStudy.delete()

Delete the managed instances from the design study and the project.

ParametricDesignStudy.execute()

Execute the managed instances automatically in blocking mode.

ParametricDesignStudy.find_execution_block_index_for_instance(...)

Get the index of the execution block containing the specified managed instance.

ParametricDesignStudy.find_managed_instance_by_uid(uid)

Find a top level managed instance by its unique identifier (uid).

ParametricDesignStudy.get_designs()

Call get_designs command on the proxy solver node in use.

ParametricDesignStudy.get_last_parametric_system()

Get the last parametric system workflow component.

ParametricDesignStudy.get_result_designs()

Get the result designs of the design study.

ParametricDesignStudy.get_status()

Get project status.

ParametricDesignStudy.move_execution_block(...)

Move an execution block from one index to another.

ParametricDesignStudy.remove_execution_block(idx)

Remove an execution block by its index from the design study.

ParametricDesignStudy.remove_managed_instance(...)

Remove a top level managed instance from the design study.

ParametricDesignStudy.reset()

Reset the parametric design study.

ParametricDesignStudy.set_designs(designs)

Call set_designs command on the proxy solver node in use.

ParametricDesignStudy.start_in_thread()

Start execution in a separate thread (non-blocking mode).

Attributes

ParametricDesignStudy.execution_order

Get ordered tuple of executable blocks.

ParametricDesignStudy.is_complete

Get info if design study is finished.

ParametricDesignStudy.managed_instances

Elementary components of this ParametricStudy.

ParametricDesignStudy.optislang

The optiSLang instance associated with this design study.