跳到主要内容

Run

CHOICE OF CONTEXT

When Contexts have been completed, “Run” shows a Context (by default, the scene2D Context) without the possibility to modify it, in order to play the scenario.

Opening the window of a Context is done by clicking on the corresponding icons:

Context buttons in run mode

A right click on the icon defines the context as context to show in main window during Run (the icon then switches to “green”). Also, by right clicking on one of the icons during Run mode, you'll be able to open all your contexts ("Open all contexts").

Only Contexts contain elements are shown.

Each Context appears in a different window when the scenario is played in Context Run, with an independent zoom level that can be change by pressing on “Alt + scrum”.

提示

To open all contexts in one time, you shall double click on a context button. Just make sure you have allowed pop-ups to open in your browser.

SAVE WINDOWS CONFIGURATION

First time you opens secondary contexts, they place all at the top left corner of your screen, with the same dimension and zoom.

In order to save your time, we have set up a backup system for the positioning of your secondary windows, taking into account the dimensions of each window, their positions on your screen and their zoom levels.

To save windows configuration you must click on the button which is in navigation bar:

Save windows configuration button

You can save this windows configuration for the current scenario or all scenarios of the project. You just have to confirm your choice (if you already have a configuration saved, it will be overwriting):

Confirm_Context_Configuration_saving
important

You can only save the configuration if you are in run mode

CONNECT A WEBSOCKET

In the figure below, you can see on left the websocket when is not connected (in red), in the middle when the websocket is trying to connect (orange) and on the right side, the executable is connected (in green):

websocket example
提示

To connect all websockets, the user shall double click on a websocket button not connected.

SCENARIO RUN BUTTONS

Stop

From left to right :

  • Step by step
  • Play/Pause: to start, pause or resume simulation.
  • Stop: to stop simulation.
  • Minus: to decrease the time acceleation rate
  • Plus: to increase the time acceleation rate

ADD ADDITIONAL VIEW FOR 2D CONTEXT

If you want to have two differents view of a 2D context, you can right click on the context and then click on Open additional view

Stop