Query_Lang-LibraryFunctions_All_SourceLibraryPathSourceLibraryPath_AD

您正在阅读的是 15.1. 版本。关于最新版本,请前往 Query_Lang-LibraryFunctions_All_SourceLibraryPath((SourceLibraryPath))_AD 阅读 21 版本

Parent page: Library Query Functions - All

Summary

Returns all components, or footprints, that are resident in the source library specified as part of the Query.

Syntax

SourceLibraryPath : String

Example Usage

SourceLibraryPath = ' C:\Documents\Altium\Library\MyExampleLibrary.SchLib'
Returns all components whose parent source library is MyExampleLibrary.SchLib, and where that library is resident in the  C:\Documents\Altium\Library folder.

SourceLibraryPath = ' C:\Documents\Altium\Library\Miscellaneous Devices.PcbLib'
Returns all footprints whose parent source library is Miscellaneous Devices.PcbLib, and where that library is resident in the  C:\Documents\Altium\Library folder.

SourceLibraryPath Like ' C:\Documents\Altium\Library\*'
Returns all components, or footprints, whose parent source library is resident in the  C:\Documents\Altium\Library folder.

Tips

  1. The entities returned - Components or Footprints - depends on the chosen scope, defined using the Search in field in the Libraries Search dialog.
  2. When searching components, only schematic libraries - available along the defined library path - will be interrogated. When searching footprints, only PCB libraries will be interrogated.
  3. All results are listed in the Query Results listing, back in the Libraries panel.

可用的功能取决于您的 Altium Designer 软件订阅级别