rename_slot#
- ansys.optislang.core.tcp.server_commands.rename_slot(actor_uid: str, new_name: str, slot_uid: str | None = None, slot_name: str | None = None, password: str | None = None) str#
 Generate JSON string of
rename_slotcommand.Note
Command is supported for Ansys optiSLang version >= 25.2 only.
- Parameters:
 - actor_uid: str
 Actor uid entry.
- 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.
- password
Optional[str],optional Password, by default
None.
- Returns:
 strJSON string of
rename_slotcommand.