Query_Lang-PCBFunctions_Fields_RuleCategoryRuleCategory_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.2. For the latest, read: Query_Lang-PCBFunctions_Fields_RuleCategory((RuleCategory))_AD for version 4
Parent page: PCB Query Functions - Fields
Summary
Returns all design rule objects whose Rule Category property complies with the Query.
Syntax
RuleCategory = Category_String
RuleCategory <> Category_String
Category_String
must be one of the strings from the following list:
- 'Electrical'
- 'High Speed'
- 'Manufacturing'
- 'Mask'
- 'Placement'
- 'Plane'
- 'Routing'
- 'Signal Integrity'
- 'SMT'
- 'Testpoint'
Example Usage
RuleCategory = '
Electrical'
Returns all design rule objects whose Rule Category property is Electrical.
RuleCategory <> '
High Speed'
Returns all objects except design rule objects whose Rule Category property is High Speed.
IsRule && RuleCategory
<> 'Signal Integrity'
Returns all design rule objects except those whose Rule Category property is Signal Integrity.
Tips
- The Rule Category property is only defined for design rule objects.
- The single quote characters (') at the start and end of
Category_String
are mandatory.