evaluate_design#

ansys.optislang.core.tcp.server_commands.evaluate_design(parameters: Dict, run_async: bool = False, password: str | None = None) → str#

Generate JSON string of evaluate_design command.

Parameters:
parameters: Dict

Dictionary of parameters.

run_async: bool, optional

Whether to perform the evaluation as an asynchronous, non-blocking long running operation. If True, the server responds immediately with an operation ID that can be polled or waited on via the get_long_running_operation_status/ wait_for_long_running_operation queries. By default False.

Note

Argument is supported for Ansys optiSLang version >= 27.1 only.

passwordOptional[str], optional

Password, by default None.

Returns:
str

JSON string of evaluate_design command.