SourceLibraryPath
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
Source
LibraryPath
=
' 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.
Source
LibraryPath
=
' 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
- The entities returned - Components or Footprints - depends on the chosen scope, defined using the Search in field in the File Libraries Search dialog.
- When searching components, only schematic libraries - available along the defined library path - will be interrogated. When searching footprints, only PCB libraries will be interrogated.
- All results are listed in the Query Results listing, back in the Components panel.