Previous Next


SimulationEnd Event

Description

Raised at the end of each completed simulation. If a simulation is cancelled, you may not receive this event.

Syntax

RDKApp_SimulationEnd(whichSim As Long, cancel as Boolean)

Arguments

whichSim (Long) – the number of the simulation that is ending.

cancel (Boolean) – set to true to cancel the simulation

Example

Private Sub RDKApp_SimulationEnd(whichSim As Long, cancel as Boolean)
    MsgBox "Simulation " & whichSim & " is ending."
End Sub