start#

Optislang.start(wait_for_started: bool = True, wait_for_finished: bool = True) None#

Start project execution.

Parameters:
wait_for_startedbool, optional

Whether this function call should wait for optiSLang to start the command execution. The default is True, in which case the function call does not continue on to the next line of the Python script after the command is successfully sent to optiSLang but rater waits for execution of the flow inside optiSLang to start.

wait_for_finishedbool, optional

Whether this function call should wait for optiSLang to finish the command execution. The default is True, in which case the function call does not continue on to the next line of the Python script after the command is successfully sent to optiSLang but rather waits for execution of the flow inside optiSLang to finish. This implicitly interprets wait_for_started as True.

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.

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