HoleType

Now reading version 18.1. For the latest, read: HoleType for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: PCB Query Functions - Fields

Summary

Returns all pad objects whose Hole Type property complies with the Query.

Syntax

HoleType = HoleType_String
HoleType <> HoleType_String

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

  • 'Round'
  • 'Slot'
  • 'Square'

Example Usage

HoleType = 'Square'
Returns all pad objects whose Hole Type property is Square.

HoleType <> 'Slot'
Returns all objects except pad objects whose Hole Type property is Slot.

HoleType = 'Square' || HoleType = 'Slot'
IsPad && HoleType <> 'Round'

Returns all objects except pad objects whose Hole Type property is Round.

Tips

  1. The Hole Type property is only defined for pad objects.
  2. The single quote characters (') at the start and end of HoleType_String are mandatory.

 

Note

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