I have added several pads with plated holes and assigned them to the GND net to serve the purpose of mounting holes for my PCB. I'd like to create a Design Rule for them which connects them to a GND polygon without thermal relief (direct connect). I assigned a Designator of H
to them to differentiate them from other pads, thinking that I could write a simple query to target only pads with this designator.
Scouring the query builder/helper and documentation, selecting pads by their designator seems like an impossible task. There is no parameter, field, or property in the query language that appears to select pads by the value assigned to their designator.
There is a Name parameter, but writing syntax like (Name = 'H')
doesn't select the pads.
Is there a way to select pads with a specific designator using the query language in Altium?