7.9 Object Flags
Note that object flags can be given numerically (like 0x0147
)
or symbolically (like "found,showname,square"
. Some numeric
values are reused for different object types. The table below lists
the numeric value followed by the symbolic name.
0x0001 pin
- If set, this object is a pin. This flag is for internal use only.
0x0002 via
- Likewise, for vias.
0x0004 found
- If set, this object has been found by
FindConnection()
.
0x0008 hole
- For pins and vias, this flag means that the pin or via is a hole
without a copper annulus.
0x0010 rat
- If set for a line, indicates that this line is a rat line instead of a
copper trace.
0x0010 pininpoly
- For pins and pads, this flag is used internally to indicate that the
pin or pad overlaps a polygon on some layer.
0x0010 clearpoly
- For polygons, this flag means that pins and vias will normally clear
these polygons (thus, thermals are required for electrical
connection). When clear, polygons will solidly connect to pins and
vias.
0x0010 hidename
- For elements, when set the name of the element is hidden.
0x0020 showname
- For elements, when set the names of pins are shown.
0x0020 clearline
- For lines and arcs, the line/arc will clear polygons instead of
connecting to them.
0x0040 selected
- Set when the object is selected.
0x0080 onsolder
- For elements, indicates that the element is on the solder side.
0x0080 auto
- For lines and vias, indicates that these were created by the
autorouter.
0x0100 square
- For pins and pads, indicates a square (vs round) pin/pad.
0x0200 rubberend
- For lines, used internally for rubber band moves.
0x0200 warn
- For pins, vias, and pads, set to indicate a warning.
0x0400 usetherm
- Obsolete, indicates that pins/vias should be drawn with thermal
fingers.
0x0400
- Obsolete, old files used this to indicate lines drawn on silk.
0x0800 octagon
- Draw pins and vias as octagons.
0x1000 drc
- Set for objects that fail DRC.
0x2000 lock
- Set for locked objects.
0x4000 edge2
- For pads, indicates that the second point is closer to the edge. For
pins, indicates that the pin is closer to a horizontal edge and thus
pinout text should be vertical.