acr extract
Extract embedded symbols from SchDoc/PrjPcb to SchLib files, footprints from PcbDoc to PcbLib files, or source libraries from IntLib.
| Property | Value |
|---|---|
| Command | acr extract (or altium-cruncher extract) |
| Category | Libraries, Assets & Importers |
| Workflow Guide | Asset & Library Extraction |
Usage
acr extract [-h] [-o OUTPUT] [--split] [--combined] [--debug] [--stream-filenames] [--no-libpkg] [--no-overwrite] [file]Arguments And Options
Positional Arguments
| Argument | Required | Description |
|---|---|---|
file | No | SchDoc, PcbDoc, PrjPcb, or IntLib file (optional if auto-detected in CWD) |
Options
| Flag | Default | Description |
|---|---|---|
-o, --output <OUTPUT> | — | output directory (default: ./output/extract) |
--split | False | create individual SchLib/PcbLib files (default) |
--combined | False | create a single combined SchLib/PcbLib file |
--debug | False | enable debug output |
--stream-filenames | False | for IntLib, use stream basenames instead of original source filenames |
--no-libpkg | False | for IntLib, do not write a generated LibPkg |
--no-overwrite | False | for IntLib, fail if an extracted source file already exists |
Examples
# Extract symbols and footprints from a project or document
acr extract project.PrjPcb -o out/extracted
# Extract source .SchLib and .PcbLib libraries from an .IntLib
acr extract parts.IntLib -o out/intlib_sources