Query_Lang-PCBFunctions_Fields_RuleAttributesRuleAttributes_AD
Created: 九月 09, 2015 | Updated: 八月 18, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
您正在阅读的是 16.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_RuleAttributes((RuleAttributes))_AD 阅读 21 版本
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.