Next: pin, Previous: net, Up: Object types [Contents][Index]

#### 12.4.9 bus

Valid in: Schematic files ONLY

    type x1 y1 x2 y2 color ripperdir

Pos. | Field | Type/unit | Description
--- | --- | --- | ---
# | type | char | U
1 | x1 | int/mils | First X coordinate
2 | y1 | int/mils | First Y coordinate
3 | x2 | int/mils | Second X coordinate
4 | y2 | int/mils | Second Y coordinate
5 | color | int | Color index
6 | ripperdir | int | Direction of bus rippers

- The ripperdir field for an brand new bus is 0.
- The ripperdir field takes on a value of 1 or -1 when a net is connected to the bus for the first time. This value indicates the direction of the ripper symbol. The ripper direction is set to the same value for the entire life of the bus object.
- Buses can only appear in schematic files.
- You cannot have a zero length bus (the tools will throw them away).

Example:

    U 27300 37400 27300 35300 3 0

A bus segment from (27300, 37400) to (27300, 35300) with color index 3 and no nets have been connected to this bus segment.