Query_Lang-PCBFunctions_Fields_HoleTypeHoleType_AD
Created: 九月 08, 2015 | Updated: 八月 11, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
您正在阅读的是 3.0. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_HoleType((HoleType))_AD 阅读 4 版本
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
- The Hole Type property is only defined for pad objects.
- The single quote characters (') at the start and end of
HoleType_String
are mandatory.