assign_placeholder#

TcpOslServer.assign_placeholder(actor_uid: str, property_name: str, placeholder_id: str) None#

Assign a placeholder to an actor property.

Note

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

Parameters:
actor_uidstr

Unique identifying actor of the object.

property_namestr

Name of the actor property to assign placeholder to.

placeholder_idstr

ID of the placeholder to assign.

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.