disconnect#
- abstractmethod InputSlot.disconnect(sending_slot: Slot | None = None) None#
Remove a specific or all connections for the current slot.
- Parameters:
- sending_slot: Optional[Slot], optional
Sending (output) 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:
NotImplementedErrorRaised when unsupported optiSLang server is used.
OslCommunicationErrorRaised when an error occurs while communicating with the server.
OslCommandErrorRaised when a command or query fails.
TimeoutErrorRaised when the timeout float value expires.