Query_Lang-PCBFunctions_Fields_PadViaLibraryPadViaLibrary_AD
Created: 九月 09, 2015 | Updated: 八月 18, 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
您正在阅读的是 18.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_PadViaLibrary((PadViaLibrary))_AD 阅读 21 版本
Parent page: PCB Query Functions - Fields
Summary
Returns all pad and via objects whose Library property complies with the Query.
Syntax
PadViaLibrary = PadViaLibrary_String
PadViaLibrary_String
must be a string that:
- Targets pads/vias from the required Pad Via Template Library. In this case, the string should target that library name (e.g. 'ExamplePVLib.PvLib').
- Targets pads/vias from the local template library. In this case, the '<Local>' string must be used.
Example Usage
PadViaLibrary = '<Local>
'
Returns all pad and via objects whose Library property is <Local>
.
PadViaLibrary = '
ExamplePVLib.PvLib'
Returns all pad and via objects whose Library property is ExamplePVLib.PvLib.
PadViaLibrary Like '*
PVLib
'
Returns all pad and via objects whose Library property ends in PVLib
. For example, pads/vias placed from the template library ExamplePVLib.PvLib would be returned using this expression.
Tips
- The Library property is only defined for pad and via objects.
- The single quote characters (') at the start and end of
PadViaLibrary_String
are mandatory.