DJ Delorie wrote: >> I've found PCB->Data->Layer[] and PCB->LayerGroups. But it's not quite >> that simple. For example, how many layers and how many layer groups >> are there? There's MAX_LAYER, which appears to be a hard limit on the > > The "max_layer" macro (PCB->Data->LayerN) is the number of copper > layers in the current board. > > There are as many layer groups as there are layers. > > The extra two layers are the two silk layers.
and if you're wondering why some of this code is the way it is, the answer is legacy code that dates back at least 15 years in some places. _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
