PadViaLibrary
The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.
If you don’t see a discussed feature in your software, contact Altium Sales to find out more.
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all pad and via objects whose Library property complies with the Query.
Syntax Copy Link Copied
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 Copy Link Copied
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 Copy Link Copied
- 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.