Query_Lang-PCBFunctions_ObjectTypeChecks_IsPadHoleValidIsPadHoleValid_AD
Created: September 12, 2015 | Updated: August 21, 2021
| Applies to 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
Now reading version 17.0. For the latest, read: Query_Lang-PCBFunctions_ObjectTypeChecks_IsPadHoleValid((IsPadHoleValid))_AD for version 21
Parent page: PCB Query Functions - Object Type Checks
Summary
Returns all pad objects that have a valid hole. To be a valid hole, the pad's Hole Size property must be a non-zero value. Additionally, if the hole is slotted, it must have a non-zero length.
Syntax
IsPadHoleValid : Boolean/Boolean_String
Example Usage
IsPadHoleValid
IsPadHoleValid = True
IsPadHoleValid = 'True'
Returns all pad objects that have a valid hole.
Not IsPadHoleValid
IsPadHoleValid = False
IsPadHoleValid = 'False'
Returns all objects except pad objects that have a valid hole.