Query_Lang-PCBFunctions_Fields_RulePriorityRulePriority_AD
This document is no longer available beyond version 4. Information can now be found here: RulePriority for version 5
Parent page: PCB Query Functions - Fields
Summary
Returns all design rule objects whose Rule Priority property complies with the Query.
Syntax
RulePriority : Numeric_String
RulePriority : Number
Example Usage
RulePriority = '1'
RulePriority <> '' && RulePriority = 1
Returns all design rule objects whose Rule Priority property is 2.
RulePriority > '' && RulePriority Between 3 And 5
Returns all design rule objects whose Rule Priority property is greater than, or equal to, 3 and less than, or equal to, 5.
ObjectKind Like '*Rule' && RulePriority >= 4
Returns all design rule objects whose Rule Priority property is greater than, or equal to, 4.
IsRule && RulePriority < 4
Returns all design rule objects whose Rule Priority property is less than 4.
RulePriority <> '1'
Returns all objects except design rule objects whose Rule Priority property is 1.
IsRule && RulePriority <> 1
Returns all design rule objects whose Rule Priority property is not equal to 1.
Tips
- The Rule Priority property is only defined for design rule objects.