lib_get_footprints
Enumerate every footprint in a PCB library and return each footprint's name and description, optionally targeting a specified .PcbLib path or the focused document.
Instructions
Enumerate every footprint in a PcbLib.
PcbLib counterpart to lib_get_components for SchLibs. Walks
the PCB library with IPCB_Library.LibraryIterator_Create
and returns one entry per footprint with its name and
description.
Args: library_path: Optional .PcbLib path to focus first. Defaults to the focused document.
Returns:
Dict with library_path, count and footprints
(a list of {name, description}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||