Skip to content

Double slip turnout rail tile

$object.turnoutdoublesliprailtile:description$

Properties

dual_motor

true if the slip turnout has two motors/coils, false if it has one motor/coil.

id

Unique object identifier. Each object in Traintastic has a globally unique id that can be used in scripts (see world.get_object).

name

Turnout name.

position

Current turnout position, a Turnout position value. To change the turnout position call set_position.

Methods

set_position(position)

Change turnout position.

Parameters:

Return values
true if the position is changed, false if position value is invalid or turnout is locked e.g. due to a reserved path.