reset#
- ansys.optislang.core.tcp.server_commands.reset(actor_uid: str | None = None, hid: str | None = None, run_async: bool = False, password: str | None = None) str#
Generate JSON string of
resetcommand.- Parameters:
- actor_uid: Optional[str], optional
Actor uid entry. A Hierarchical ID (hid) is required. By default
None.- hid: Optional[str], optional
Hid entry. The actor uid is required. By default
None.- run_async: bool, optional
Whether to perform the reset 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 theget_long_running_operation_status/wait_for_long_running_operationqueries. By defaultFalse.Note
Argument is supported for Ansys optiSLang version >= 27.1 only.
- password
Optional[str],optional Password, by default
None.
- Returns:
strJSON string of
resetcommand.