Railroad switch
A railroad switch is a mechanical installation enabling railway trains to be guided from one track to another, such as at a railway junction or where a spur or siding branches off. This elements should be used with the railway element to create a complex railway network.
Is an equipment | ❌ |
Can have equipment | ❌ |
This element must be used with 2D scene context.
Icon
2D Representation
Run mode
When the scenario is launched, you can change the turnout by clicking on the arrow.

Edit mode
In edit mode, you have feedbacks that helps you know if the railroad switch is well connected to other elements.


3D Representation

External parameters
Show/Hide all parameters
parameter | editable via "Parameter" tab | updatable via a mapping | description | unit | type |
---|---|---|---|---|---|
X-axis position | ✔️ | ❌ | Position of the element on the X-axis. | meter | Decimal number |
Y-axis position | ✔️ | ❌ | Position of the element on the Y-axis. | meter | Decimal number |
Z-axis angle | ✔️ | ❌ | Angle of rotation of the element compared to its initial position. | degree | Decimal number |
Threshold zoom out | ✔️ | ❌ | Zoom level from which its representation on the scene is no longer modified. | % | Decimal number |
Track choice | ✔️ | ❌ | This parameter allows you to choose the default track connected with the track A. | - | Enumeration (Track B, Track C) |
longitude coordinate | ❌ | ❌ | Automatically calculated longitude value, based on the origin defined for the context and the position of the element. | degree | Decimal number |
latitude coordinate | ❌ | ❌ | Automatically calculated latitude value, based on the origin defined for the context and the position of the element. | degree | Decimal number |
Triggered behaviours
See Triggered behaviours and events page for more explanation: Triggered behaviours and events.
Show/Hide all triggered behaviours
Destroy
At the reception of the flow, the element is destroy.
No parameters for this triggered behaviour.
Switch to track B
Switch state of the railroad swith to connect track A and track B.
No parameters for this triggered behaviour.
Switch to track C
Switch state of the railroad swith to connect track A and track C.
No parameters for this triggered behaviour.
Events
See Triggered behaviours and events page for more explanation: Triggered behaviours and events.
Show/Hide all events
event | description |
---|---|
On Parameter Value Changed | The element can send information to the model when the value of the selected parameter has changed |
Continually | The element can send information to the model continuously |
At initialization | The element can send information to the model once at initialization |