Query_Lang-PCBFunctions_Fields_HoleTypeHoleType_AD

This document is no longer available beyond version 21.0. Information can now be found here: HoleType for version 25

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.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。