RuleType

Old Content - visit altium.com/documentation

Description

Returns all Design Rule objects having a Rule Type property that complies with the Query.

The RuleType property is only defined for Design Rule objects.

Syntax

RuleType = RuleType_String

RuleType <> RuleType_String

RuleType_String must be one of the strings from the following list:

'Acute Angle' , 'Clearance' , 'Component Clearance' , 'Component Orientations' , 'Daisy Chain Stub Length' , 'Fanout Control' , 'Flight Time
- Falling Edge' , 'Flight Time
- Rising Edge' , 'Height' , 'Hole Size' , 'Impedance' , 'Layer Pairs' , 'Length' , 'Matched Net Lengths' , 'Maximum Via Count' , 'Minimum Annular Ring' , 'Nets To Ignore' , 'Overshoot
- Falling Edge' , 'Overshoot
- Rising Edge' , 'Parallel Segment' , 'Paste Mask Expansion' , 'Permitted Layers' , 'Polygon Connect Style' , 'Power Plane Clearance' , 'Power Plane Connect Style' , 'Room Definition' , 'Routing Corners' , 'Routing Layers' , 'Routing Priority' , 'Routing Topology' , 'Routing Via Style' , 'Short-Circuit' , 'Signal Base Value' , 'Signal Stimulus' , 'Signal Top Value' , 'Slope
- Falling Edge' , 'Slope
- Rising Edge' , 'SMD Neck-Down' , 'SMD To Corner' , 'SMD To Plane' , 'Solder Mask Expansion' , 'Supply Nets' , 'Testpoint Style' , 'Testpoint Usage' , 'Un-Connected Pin' , 'Un-Routed Net' , 'Undershoot
- Falling Edge' , 'Undershoot

- Rising Edge' , 'Vias Under SMD' , 'Width'

The single quote characters (') shown at the start and end of each RuleType_String are both mandatory.

Examples

  1. RuleType = 'Hole Size'

Returns all Design Rule objects that have a 'Hole Size' Rule Type property.

  1. RuleType <> 'Paste Mask Expansion'

Returns all objects except Design Rule objects that have a 'Paste Mask Expansion' Rule Type property. (Only Design Rule objects have a Rule Type property, so all remaining types of objects do not have a 'Paste Mask Expansion' RuleType property, and are thus also returned by this Query.)

  1. IsRule && RuleType <> 'Paste Mask Expansion'

Returns all Design Rule objects that do not have a 'Paste Mask Expansion' Rule Type property.

You are reporting an issue with the following selected text and/or image within the active document: