RuleComment
This document is no longer available beyond version 21. Information can now be found here: RuleComment for version 25
The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.
If you don’t see a discussed feature in your software, contact Altium Sales to find out more.
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all design rule and objects whose Rule Comment property complies with the Query.
Syntax Copy Link Copied
RuleComment : String
The entered string must target the comment defined for a rule (e.g. 'This is an example clearance rule').
Example Usage Copy Link Copied
RuleComment = '
All fiducials masked on Paste Mask layers'
Returns all design rule objects whose Rule Comment property is All fiducials masked on Paste Mask layers.
RuleComment Like '*Clearance*'
Returns all design rule objects whose Rule Comment property contains the term Clearance
. For example, a clearance rule with Comment = Example Clearance Rule, and a component clearance rule with Comment = Example Component Clearance Rule, would both be returned using this expression.
RuleComment = ''
Returns all objects except design rule objects that have an entry for their Rule Comment property.
Tips Copy Link Copied
- The Rule Comment property is only defined for design rule objects.