Query_Lang-LibraryFunctions_All_SourceLibraryPathSourceLibraryPath_AD

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.
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.