sim.stopSimulation

Requests a stop of the running simulation

Synopsis

sim.stopSimulation(bool wait = False) sim.stopSimulation(bool wait = false)

Arguments

  • wait: if true, will wait until the simulation state is sim.simulation_stopped, otherwise only triggers a stop request. If true, calling script cannot be the main- or a child script, and should run threaded.


See also: