Query_Lang-PCBFunctions_Fields_RuleScope2RuleScope2_AD
软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。
如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all design rule and violation objects whose Scope 2 property complies with the Query.
Syntax Copy Link Copied
RuleScope2 : String
The entered string must target the scope defined for the rule (e.g. 'All').
Example Usage Copy Link Copied
RuleScope2 = '
All'
Returns all design rule and violation objects whose Scope 2 property is All.
RuleScope2 = '-'
Returns all design rule and violation objects that have no Scope 2 property. A few types of design rules have a Scope 1 and Scope 2 property (binary rules), but most types of have just a Scope 1 property (unary rules), and thus a Scope 2 property cannot be defined for such rules.
RuleScope2 = '
InNet(''D7'')'
Returns all design rule and violation objects whose Scope 2 property is InNet('D7').
RuleScope2 Like 'InNet(''???'')'
Returns all design rule and violation objects whose Scope 2 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').
RuleScope2 Like 'InComponent(''??*'')'
Returns all design rule and violation objects whose Scope 2 property is InComponent('??*'). The string of the associated component needs to consist of at least two characters, with examples of compliant Scope 2 properties being InComponent('C3') and InComponent('RP1').
Tips Copy Link Copied
- The Scope 2 property is only defined for design rule and violation objects.