get_osl_version#

Optislang.get_osl_version() Tuple[int | None, ...]#

Get the optiSLang version in use as a tuple.

Returns:
tuple

optiSLang version as tuple contains the major version, minor version, maintenance version, and revision.

Raises:
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.