get_osl_server#

Optislang.get_osl_server() OslServer | None#

Get the currently used instance of the OslServer.

This instance can be used to directly communicate with optiSLang using the optiSLang server API.

Returns:
Optional[OslServer]

OptiSLang server object.

Deprecated since version 0.6.0: Use Optislang.osl_server instead.