get_location#

abstract Project.get_location() Path#

Get the path to the optiSLang project file.

Returns:
pathlib.Path

Path to the optiSLang project file. If no project is loaded in the optiSLang, None is returned.

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.