Query_Lang-PCBFunctions_Fields_RuleCategoryRuleCategory_AD

This document is no longer available beyond version 21. Information can now be found here: RuleCategory for version 24

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.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。