stop#
- Optislang.stop(wait_for_finished: bool = True) None#
Stop project execution.
- Parameters:
- 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.
- wait_for_finishedbool,
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with the server.
OslCommandErrorRaised when a command or query fails.
TimeoutErrorRaised when the timeout float value expires.
Deprecated since version 0.6.0: This functionality was moved to
Project.