The properties of the SignalItem class are listed below. For a complete list of SignalItem class members, see the SignalItem Members topic.
Direction | 0 or 1 depending on which way signal is facing |
Flags1 | Set to 00000001 if junction link set |
ItemName (inherited from TrItem) | The name of the item (used for the label shown by F6) |
ItemType (inherited from TrItem) | Type of track item |
NoSigDirs | Number of junction links |
PX (inherited from TrItem) | Appears to be a copy of X in Sdata, but only for X and Z |
PZ (inherited from TrItem) | Appears to be a copy of X in Sdata, but only for X and Z |
ReverseDirection | Get the direction the signal is NOT facing |
SData1 (inherited from TrItem) | Extra data 1, related to location along section |
SData2 (inherited from TrItem) | Extra data 2 |
SigData1 | Signal Data 1 |
SignalType | Type of signal |
SigObj | index to Sigal Object Table |
TilePX (inherited from TrItem) | Appears to be a copy of tileX in Sdata, but only for X and Z |
TilePZ (inherited from TrItem) | Appears to be a copy of tileZ in Sdata, but only for X and Z |
TileX (inherited from TrItem) | X-value of world tile |
TileZ (inherited from TrItem) | Z-value of world tile |
TrItemId (inherited from TrItem) | Id if track item |
X (inherited from TrItem) | X-location within world tile (tracknode, not shape) |
Y (inherited from TrItem) | X-location within world tile (tracknode, not shape) |
Z (inherited from TrItem) | X-location within world tile (tracknode, not shape) |