save_as#

ansys.optislang.core.tcp.server_commands.save_as(path: str, do_force: bool, do_restore: bool, do_reset: bool, password: str | None = None) str#

Generate JSON string of save_as command.

Parameters:
path: str

path.

do_force: bool
Whether to force opening of project even if (non-critical) errors occur.

Non-critical errors include: - Timestamp of (auto) save point newer than project timestamp - Project (file) incomplete

do_restore: bool

Whether to restore project from last (auto) save point (if present).

do_reset: bool

Whether to reset project after load.

passwordOptional[str], optional

Password, by default None.

Returns:
str

JSON string of save_as command.