Custom Design rules Examples

Check for minimum line width on a silk screen layer

(rule "Minimum silkscreen line width"
	(severity warning)
	(constraint assertion "A.Line_Width >= 0.15mm")
	(condition "A.Layer == '?.Silkscreen' && A.Type != 'text'"))

Forum topic
Note: This link also has lots of other hints about rules syntax.

5 Likes