Crossing object type.
These are on the schematic and represent a piece of track on the Schematic.
- Parameters
-
_ctcpanel | The CTCPanel megawidget. |
_canvas | The schematic canvas to draw the switch on. |
... | Options:
- -x The x coordinate of the object (readonly, default 0).
- -y The y coordinate of the object (readonly, default 0).
- -controlpoint The name of the control point this label is part of (readonly, default CP1).
- -label The label of the switch (default "1").
- -orientation The orientation (8-way) of the switch (readonly, default 0).
- -flipped Whether or not the switch is flipped (readonly, default no).
- -type The type of crossing (x90 or x45) (readonly, default x90).
- -occupiedcommand A command to run to find out if the switch is occupied (default {}).
|
- Defined coords terminals:
- MainL Mainline left.
- MainR Mainline right.
- AltL Alternitive line left.
- AltR Alternitive line right.
Defined values (states): none. Defined indicators: none.
- Author
- Robert Heller <heller@deepsoft.com>