RuleAttributes

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

Applies to Altium Designer version: 21

Parent page: PCB Query Functions - Fields

Summary

Returns all design rule and violation objects whose Rule Attributes property complies with the Query.

Syntax

RuleAttributes : String

The entered string must target the attributes defined for the rule (e.g. 'Clearance = 10mil').

Example Usage

RuleAttributes = 'Clearance = 10mil'
Returns all design rule and violation objects whose Rule Attributes property is Clearance = 10mil.

RuleAttributes Like 'Expansion*'
Returns all design rule and violation objects whose Rule Attributes property starts with Expansion. In this case all paste mask and solder mask related rules and violations will be returned.

Tips

  1. The Rule Attributes property is only defined for design rule and violation objects.

 

Note

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