Write a LibPkg project
write_libpkgCreates an Altium Library Package project that groups schematic and PCB library files, enabling their compilation into an integrated library.
Instructions
Write an Altium Library Package (.LibPkg) project file that groups source library documents (.SchLib and .PcbLib) so they can be compiled into an Integrated Library (.IntLib). Member documents are referenced by their path relative to the .LibPkg. This generates only the project source; compiling to a binary .IntLib is a one-click operation inside Altium Designer (Project > Compile Integrated Library).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the .LibPkg file to create | |
| documents | Yes | Member document paths (.SchLib / .PcbLib). Each is referenced relative to the .LibPkg location; same-folder files become bare names. |