get_osl_version#

Optislang.get_osl_version() OslVersion#

Get the optiSLang version in use as a tuple.

Returns:
OslVersion

optiSLang version as typing.NamedTuple containing major, minor, maintenance and revision versions.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with the server.

OslCommandError

Raised when a command or query fails.

RuntimeError

Raised when parsing version numbers from string fails.

TimeoutError

Raised when the timeout float value expires.

Deprecated since version 0.5.0: Use Optislang.osl_version instead.