disconnect#

abstractmethod OutputSlot.disconnect(receiving_slot: Slot | None = None) None#

Remove a specific or all connections for the current slot.

Parameters:
receiving_slot: Optional[Slot], optional

Receiving (input) slot to disconnect from. If not provided, all connections ar removed. Defaults to None.

Note

Argument is supported for Ansys optiSLang version >= 24.1 only.

Raises:
NotImplementedError

Raised when unsupported optiSLang server is used.

OslCommunicationError

Raised when an error occurs while communicating with the server.

OslCommandError

Raised when a command or query fails.

TimeoutError

Raised when the timeout float value expires.