get_working_dir#

abstract Project.get_working_dir() Path | None#

Get the path to the optiSLang project’s working directory.

Returns:
Optional[pathlib.Path]

Path to the optiSLang project’s working directory. If no project is loaded in 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.