Query_Lang-PCBFunctions_Fields_PadViaLibraryPadViaLibrary_AD
软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。
如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。
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.