Defines on which
Circuit layer the action will run.
Layer name can be entered according to the following rules
:
The layer name field can contain a filter that allows
the application of a single process on multiple layers. The layer filter
expression is processed as follows:
1.
The expression is broken into sub-expressions with a semi colon
(;) delimiter.
2.
Each sub expression can be:
·
Any specific layer name/s or wild card expression
- The key word .affected (note the dot prefix)
- The key word .work
(note
the dot prefix)
- Expression (described below)
Each layer in the step is compared against all sub expressions.
The Action will apply if the layer passes any one of them.
Work layer is also considered Affected.
Layer Field Syntax
A layer
filter expression should:
·
Always start with a single dot ( . ) to differentiate it from any layer
specified name(s) or wild card expression.
·
Consists of expressions, separated by '&' characters
(logical and ) or | character
(logical or ).
An expression
can be one of the following:
<key> = <value> | <value> ..
Values of
<key>
can be one of the
following:
Type (signal,
power_ground, mixed, solder_mask,
silk_screen solder_paste, drill, rout, document)
side top,
bottom, inner, outer, none
context board,
misc
pol
positive, negative
name
Name of layer (no semicolons, no
wildcards)
wname A list of
wildcard expressions delimited by semi-colons.
rname
A regular expression. This
filter works like wname, but accepts regular expressions similar to those
accepted by the UNIX command: egrep .
Any number
of expressions can be combined in the same filter with an & (AND).
Examples
comp;sold;il1;il2
Action will
work on the specified layer list
.affected
Action will
work on all current affected layers
.name=smt
this is
equivalent to just writing smt
.type=signal|mixed&side=top|bottom
all layers
whose type is signal
or mixed and which side is either top or bottom
.wname=sig*;mix*
this
expands to All layers with names that begin with sig
' or mix
.rname=sig.*|mix.*
this
expands to All layers with names that begin with sig
' or mix
'.
.rname=il[0-9]+
this
expands to All layers with names that are il followed by a non-negative
integer.
.type=power_ground|mixed & context=board
this
expands to “All layers of type power_ground or mixed
and whose context are board
|