Query_Lang-PCBFunctions_Fields_RuleAttributesRuleAttributes_AD
Created: 九月 09, 2015 | Updated: 八月 18, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
您正在阅读的是 3.0. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_RuleAttributes((RuleAttributes))_AD 阅读 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.