Query_Lang-PCBFunctions_Fields_RuleAttributesRuleAttributes_AD
This document is no longer available beyond version 4. Information can now be found here: RuleAttributes for version 5
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.