KB: Applying Polygon Connect Style Rule to Component Pads by Pad Class
Created: October 14, 2025 | Updated: October 14, 2025
This article explains how to apply a polygon connect style rule to component pads grouped in a pad class within Altium Designer. This method allows designers to control how copper polygons connect to pads based on shared mechanical or electrical characteristics, such as grounding pads or thermal vias. By defining a pad class and referencing it in a design rule, consistent polygon connection behavior can be enforced across the PCB layout.
Solution Details
Controlling Polygon Connections by Pad Class
Why Use Pad Classes for Polygon Connect Rules
Pad classes are useful when you want to apply consistent polygon connection behavior to a group of pads that may not share the same net but do share a functional or mechanical role. For example, grounding pads for shielding components or thermal vias can be grouped into a pad class and treated uniformly.
Why Polygon Connections May Not Behave as Expected
Altium Designer does not automatically apply polygon connect styles based on pad class unless a specific rule is defined. Without this rule, polygons may connect using default settings, which may not be optimal for grouped pads.
Applying Polygon Connect Styles to Pad Classes
To apply a polygon connect style to pads in a pad class:
- Create a new Polygon Connect Style rule.
- Use a query that targets pads by their pad class.
- Define the desired connection style (e.g., thermal relief, direct connect).
Step-by-Step: How to Apply Polygon Connect Style Rules
- Open your PCB layout in Altium Designer.
- Navigate to Design » Rules.
- In the PCB Rules And Constraints dialog, right-click Polygon Connect Style and choose New Rule.
- In the Where the Object Matches section, click Query Helper.
- Enter a query like:
(IsPad) AND (InPadClass('YourPadClassName')) - In the Constraints section, select the desired polygon connection style (e.g., Direct Connect, Relief Connect).
- Click Apply and OK.
- Repour polygons to apply the rule.
Note: Under the premise that specific pads should have a certain type of connection, this can be achieved using a Pad Class. Use the PCB editor Object Class Explorer via Design » Classes to create a Pad Class and add the required members. You can then reference the Pad Class in your rule using:InPadClass('PadClassName')
Additional Notes
- Polygon Connect Style rules apply to both component pads and routed vias.
- Pad classes must be defined before applying the rule. Use the PCB panel » Pad Classes to manage them.
- If multiple rules apply to the same pad, rule priority will determine which one is enforced.
- Object-level overrides can supersede rule-based polygon connection styles.