Query_Lang-PCBFunctions_Fields_RuleScope1RuleScope1_AD
This document is no longer available beyond version 4. Information can now be found here: RuleScope1 for version 5
Parent page: PCB Query Functions - Fields
Summary
Returns all design rule and violation objects whose Scope 1 property complies with the Query.
Syntax
RuleScope1 : String
The entered string must target the scope defined for the rule (e.g. 'All').
Example Usage
RuleScope1 = '
All'
Returns all design rule and violation objects whose Scope 1 property is All.
RuleScope1 = '
InNet(''D7'')'
Returns all design rule and violation objects whose Scope 1 property is InNet('D7').
RuleScope1 Like 'InNet(''???'')'
Returns all design rule and violation objects whose Scope 1 property is InNet('???'). The string of the associated net needs to consist of exactly three characters, with examples of compliant Scope 1 properties being InNet('GND') and InNet('VCC').
Tips
- The Scope 1 property is only defined for design rule and violation objects.