Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Simulation Class
The Simulation Class provides an interface to the Enterprise Architect Model Simulation facilities.
Simulation Attributes
Attribute |
Type |
Notes |
See Also |
ObjectType
|
ObjectType |
Read only Distinguishes objects referenced through a Dispatch interface.
|
|
Speed
|
Long
|
Read/Write Retrieve or set the current simulation running speed.
|
Simulation Methods
Method |
Type |
Notes |
See Also |
||||
BroadcastSignal (
|
Boolean
|
Send a signal into the running simulation. If the simulation is stopped, do nothing. Parameters:
{parameter1 : 5, parameter2 : "test", parameter3 : 3.2}
|
|||||
IsSimulatorRunning ()
|
Boolean
|
Check the state of the simulation. Returns true if the simulation is running; returns false if the simulation is stopped.
|
|
||||
Pause ()
|
Boolean
|
Pause the simulation if it is running. |
|
||||
Start ()
|
Boolean
|
Start the simulation based on the current selection. If the current simulation is in a paused state, then the simulation is resumed.
|
|||||
StepIn () |
Boolean |
Step In to the routine in the current simulation.
|
|||||
StepOut () |
Boolean |
Step Out of the routine in the current simulation.
|
|||||
StepOver () |
Boolean |
Step Over the routine in the current simulation.
|
|||||
Stop ()
|
Boolean
|
Stop the simulation. |
Learn more