rename_placeholder#

TcpOslServer.rename_placeholder(placeholder_id: str, new_placeholder_id: str) None#

Rename a placeholder.

Note

Method is supported for Ansys optiSLang version >= 26.1 only.

Parameters:
placeholder_idstr

ID of the placeholder to rename.

new_placeholder_idstr

New ID for the placeholder.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout float value expires.