RuleCategory

Now reading version 20.2. For the latest, read: RuleCategory for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

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

  1. The Rule Category property is only defined for design rule objects.
  2. The single quote characters (') at the start and end of Category_String are mandatory.

 

Note

The features available depend on your level of Altium Designer Software Subscription.