get_project_location#

TcpOslServer.get_project_location() Path#

Get path to the optiSLang project file.

Returns:
pathlib.Path

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

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout float value expires.