load#

ansys.optislang.core.tcp.server_commands.load(actor_uid: str, args: Dict[str, Any] | None = None, run_async: bool = False, password: str | None = None) → str#

Generate JSON string of load command.

Parameters:
actor_uid: str

Actor uid entry.

args: Optional[CommandArgs], optional

Dictionary with additional arguments, by default None.

run_async: bool, optional

Whether to perform the load 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 load command.