HaltTime Property

See Also Applies To Example Model

Sets or returns the number of simulation time steps to run after the Play method is executed. After HaltTime time steps are executed, the OnSimEnd event is triggered. Read/write Long.

Example

The following example runs a simulation through 20000 time steps.

World.Sim.HaltTime=20000
World.Sim.Play