Query_Lang-PCBFunctions_Fields_RuleScope1RuleScope1_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.0. For the latest, read: Query_Lang-PCBFunctions_Fields_RuleScope1((RuleScope1))_AD for version 4
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.