Query_Lang-LibraryFunctions_All_SourceLibraryPathSourceLibraryPath_AD

您正在阅读的是 3.2. 版本。关于最新版本,请前往 Query_Lang-LibraryFunctions_All_SourceLibraryPath((SourceLibraryPath))_AD 阅读 4 版本
Applies to NEXUS Client versions: 2.0, 2.1, 3.0, 3.1 and 3.2

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

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 File 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 Components panel.