rename_slot#
- TcpOslServer.rename_slot(actor_uid: str, new_name: str, slot_uid: str | None = None, slot_name: str | None = None) None#
Rename node slot specified by uid or name.
Note
Method is supported for Ansys optiSLang version >= 25.2 only.
- Parameters:
- actor_uid
str Actor uid.
- slot_uid: Optional[str], optional
UID of the slot to rename. Defaults to
None. Either slot_uid or slot_name needs to be provided.- slot_name: Optional[str], optional
Name of the slot to rename. Defaults to
None. Either slot_uid or slot_name needs to be provided.- new_name: str
New slot name.
- actor_uid
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with server.
OslCommandErrorRaised when the command or query fails.
TimeoutErrorRaised when the timeout float value expires.