Load an existing multi-footprint PcbLib and split it into one PcbLib file per footprint.
This sample uses the RT Super C1 PcbLib asset. It is the direct PcbLib-only version of the split flow; it does not extract footprints from a board first.
AltiumPcbLib.from_file(...)pcblib.split(output_dir)- iterating the original
pcblib.footprints - writing a JSON manifest that maps footprint names to split library files
From the package root:
uv run python examples\pcblib_split\pcblib_split.pyexamples/assets/pcblib/RT_SUPER_C1.PcbLib
examples/pcblib_split/output/split/
examples/pcblib_split/output/pcblib_split_manifest.json