Query_Lang-PCBFunctions_Fields_RuleCommentRuleComment_AD
This document is no longer available beyond version 21. Information can now be found here: RuleComment for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns all design rule and objects whose Rule Comment property complies with the Query.
Syntax
RuleComment : String
The entered string must target the comment defined for a rule (e.g. 'This is an example clearance rule').
Example Usage
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
- The Rule Comment property is only defined for design rule objects.