get_project_name#

TcpOslServer.get_project_name() str | None#

Get name of the optiSLang project.

Returns:
Optional[str]

Name of the optiSLang project. 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.

Deprecated since version 0.6.0: This functionality was moved to Project.