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

#### 12.4.11 component

Valid in: Schematic files ONLY

    type x y selectable angle mirror basename

Pos. | Field | Type/unit | Description
--- | --- | --- | ---
# | type | char | C
1 | x | int/mils | Origin X coordinate
2 | y | int/mils | Origin Y coordinate
3 | selectable | int | Selectable flag
4 | angle | int/degrees | Angle of the component
5 | mirror | int | Mirror around Y axis
6 | basename | string | The filename of the component

- The selectable field is either 1 for selectable or 0 if not selectable.
- The angle field can only take on the following values: 0, 90, 180, 270.
- The angle field can only be positive.
- The mirror flag is 0 if the component is not mirrored (around the Y axis).
- The mirror flag is 1 if the component is mirrored (around the Y axis).
- The just basename is the filename of the component. This filename is not the full path.

Example:

    C 18600 19900 1 0 0 7400-1.sym

A component who’s origin is at (18600,19900), is selectable, not rotated, not mirrored, and the basename of the component is `7400-1.sym`.