acr pnp
Generate Pick-and-Place (PnP) from Altium PrjPcb files. Requires PcbDoc in project. Includes all component parameters. Config-driven runs can emit JSON, CSV, XLSX, and JLCPCB CPL upload columns in one invocation.
| Property | Value |
|---|---|
| Command | acr pnp (or altium-cruncher pnp) |
| Category | Fabrication & Manufacturing Outputs |
| Config File | bom.config / bom-pnp.jsonc (altium_cruncher.bom.config.a0) |
| Workflow Guide | Fabrication & Outputs: acr pnp |
Usage
acr pnp [-h] [-o OUTPUT] [--format {csv,json,xlsx,jlc-cpl,jlc-cpl-xlsx}] [--config CONFIG] [--write-config [PATH]] [--variant VARIANT] [--all-variants] [--units {mm,mils}] [--position-mode {altium-pick-place,component-origin}] [--exclude-no-bom] [file]Arguments And Options
Positional Arguments
| Argument | Required | Description |
|---|---|---|
file | No | PrjPcb file (optional if PrjPcb in CWD) |
Options
| Flag | Default | Description |
|---|---|---|
-o, --output <OUTPUT> | — | output directory (default: ./output/pnp) |
--format <FORMAT> | — | single output format; overrides multi-output config mode (choices: csv, json, xlsx, jlc-cpl, jlc-cpl-xlsx) |
--config <CONFIG> | — | BOM/PnP JSON/JSONC config (default: ./bom.config if present) |
--write-config <PATH> | — | write a default BOM/PnP config template |
--variant <VARIANT> | — | filter by specific variant name |
--all-variants | False | generate PnP for all variants (plus base) |
--units <UNITS> | — | coordinate units (default: config value or mm) (choices: mm, mils) |
--position-mode <POSITION_MODE> | — | placement position mode (default: config value or altium-pick-place) (choices: altium-pick-place, component-origin) |
--exclude-no-bom | False | exclude STANDARD_NO_BOM components |
Examples
# Export Pick & Place table from an Altium project
acr pnp project.PrjPcb -o out/pnp
# Export Pick & Place with an explicit bom-pnp.jsonc config
acr pnp project.PrjPcb --config bom-pnp.jsonc -o out/pnp