InDrillLayerPair
Created: March 01, 2016 | Updated: August 20, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 2.1. For the latest, read: InDrillLayerPair for version 4
Parent page: PCB Query Functions - Membership Checks
Summary
Returns all via objects whose Drill Pair property matches the specified Drill Layer Pair.
Syntax
InDrillLayerPair(LayerPair : String) : Boolean/Boolean_String
Example Usage
InDrillLayerPair('Top Layer - Bottom Layer')
InDrillLayerPair('Top Layer - Bottom Layer') = True
InDrillLayerPair('Top Layer - Bottom Layer') = 'True'
Returns all via objects whose Drill Pair property matches the Top Layer - Bottom Layer Drill Layer Pair.
Not InDrillLayerPair('Top Layer - Signal Layer 1')
InDrillLayerPair('Top Layer - Signal Layer 1') = False
InDrillLayerPair('Top Layer - Signal Layer 1') = 'False'
Returns all objects except via objects whose Drill Pair property matches the Top Layer - Signal Layer 1 Drill Layer Pair.
Tips
- The Drill Pair property is only defined for via objects.
- The single quote characters (') at the start and end of the
LayerPair
string are mandatory.