Query_Lang-PCBFunctions_Fields_PadViaLibraryTemplatePadViaLibraryTemplate_AD
Created: September 09, 2015 | Updated: August 18, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 1.1. For the latest, read: Query_Lang-PCBFunctions_Fields_PadViaLibraryTemplate((PadViaLibraryTemplate))_AD for version 4
Parent page: PCB Query Functions - Fields
Summary
Returns all pad and/or via objects whose Library Template property complies with the Query.
Syntax
PadViaLibraryTemplate : String
The entered string must target the name of the required pad/via template (e.g. 'c152hn127').
Example Usage
PadViaLibraryTemplate = '
c152hn127'
Returns all pad objects whose Library Template property is c152hn127.
PadViaLibraryTemplate = '
v127h71
'
Returns all via objects whose Library Template property is v127h71
.
PadViaLibraryTemplate Like '*
127
'
Returns all pad and via objects whose Library Template property ends in 127
. For example, a pad placed using template c152hn127, and a via placed using template v102h71x127, would be returned using this expression.
Tips
- The Library Template property is only defined for pad and via objects.