color | int |
fill | int |
name | string (LAYER_NAME_LENGTH) |
number | int |
used | int (0=unused, 1=used) |
visible | int (0=off, 1=on) |
See also UL_BOARD, UL_LIBRARY, UL_SCHEMATIC
Constants
LAYER_NAME_LENGTH | max. recommended length of a layer name (used in formatted output only) |
LAYER_TOP | layer numbers |
LAYER_BOTTOM | |
LAYER_PADS | |
LAYER_VIAS | |
LAYER_UNROUTED | |
LAYER_DIMENSION | |
LAYER_TPLACE | |
LAYER_BPLACE | |
LAYER_TORIGINS | |
LAYER_BORIGINS | |
LAYER_TNAMES | |
LAYER_BNAMES | |
LAYER_TVALUES | |
LAYER_BVALUES | |
LAYER_TSTOP | |
LAYER_BSTOP | |
LAYER_TCREAM | |
LAYER_BCREAM | |
LAYER_TFINISH | |
LAYER_BFINISH | |
LAYER_TGLUE | |
LAYER_BGLUE | |
LAYER_TTEST | |
LAYER_BTEST | |
LAYER_TKEEPOUT | |
LAYER_BKEEPOUT | |
LAYER_TRESTRICT | |
LAYER_BRESTRICT | |
LAYER_VRESTRICT | |
LAYER_DRILLS | |
LAYER_HOLES | |
LAYER_MILLING | |
LAYER_MEASURES | |
LAYER_DOCUMENT | |
LAYER_REFERENCE | |
LAYER_TDOCU | |
LAYER_BDOCU | |
LAYER_NETS | |
LAYER_BUSSES | |
LAYER_PINS | |
LAYER_SYMBOLS | |
LAYER_NAMES | |
LAYER_VALUES | |
LAYER_USER | lowest number for user defined layers (100) |
Example
board(B) { B.layers(L) printf("Layer %3d %s\n", L.number, L.name); }
Index | Copyright © 2005 CadSoft Computer GmbH |