SimulationState
- Updated2026-03-24
- 1 minute(s) read
Indicates the current state of the simulator.
Syntax
Property SimulationState As SimulationState
Remarks
A read-only property indicating whether the simulator is stopped, paused or running. Refer to the enum SimulationState in MultisimInterface.
The SimulationState setting can be used to check if the simulation is running before attempting to replace a component or to avoid starting multiple simulations.
Example
Dim state As MultisimInterface.SimulationState
state = Circuit.SimulationState
if state <> MultisimInterface.SimulationState.SimulationRunning Then
Call RunSimulation(10, False)
Else
MsgBox "Another simulation is already running."
End If