get_working_dir#
- TcpOslServer.get_working_dir() Path | None#
Get path to the optiSLang project working directory.
- Returns:
Optional[pathlib.Path]Path to the optiSLang project working directory. If no project is loaded in the optiSLang, returns
None.
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with server.
OslCommandErrorRaised when the command or query fails.
TimeoutErrorRaised when the timeout float value expires.
Deprecated since version 0.6.0: This functionality was moved to
Project.