Menu
Contents

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
Object id, each object has a unique id.
name
Turnout name.
position
Current turnout position, a Turnout position value. To change the turnout position call set_position.

Methods

set_position

set_position(position)

Change turnout position.

Parameters

position
Requested turnout position, a Turnout position value.

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.