new#

ansys.optislang.core.tcp.server_commands.new(password: str | None = None) str#

Generate JSON string of new command.

Parameters:
passwordOptional[str], optional

Password, by default None.

Returns:
str

JSON string of new command.