Query_Lang-PCBFunctions_Fields_RuleAttributesRuleAttributes_AD
Created: September 09, 2015 | Updated: August 18, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 3.1. For the latest, read: Query_Lang-PCBFunctions_Fields_RuleAttributes((RuleAttributes))_AD for version 4
Parent page: PCB Query Functions - Fields
Summary
Returns all design rule and violation objects whose Rule Attributes property complies with the Query.
Syntax
RuleAttributes : String
The entered string must target the attributes defined for the rule (e.g. 'Clearance = 10mil').
Example Usage
RuleAttributes = '
Clearance = 10mil'
Returns all design rule and violation objects whose Rule Attributes property is Clearance = 10mil.
RuleAttributes Like 'Expansion*
'
Returns all design rule and violation objects whose Rule Attributes property starts with Expansion
. In this case all paste mask and solder mask related rules and violations will be returned.
Tips
- The Rule Attributes property is only defined for design rule and violation objects.