On This Page (5)
acr pcbdoc
Create Altium .PcbDoc files through generated MCO operations.
| Property | Value |
|---|---|
| Command | acr pcbdoc (or altium-cruncher pcbdoc) |
| Category | Document Authoring, Change Orders & Board Planning |
| Workflow Guide | PcbDoc Guide |
Usage
acr pcbdoc [-h] <pcbdoc-action> ...Subcommands
| Subcommand | Summary |
|---|---|
acr pcbdoc create | create a new PCB document |
acr pcbdoc create
Create a new PCB document.
acr pcbdoc create [-h] [--layers LAYERS] [--layer-stack-template LAYER_STACK_TEMPLATE] [--stackupx-file STACKUPX_FILE] [--width-mils WIDTH_MILS] [--height-mils HEIGHT_MILS] [--mechanical-layer-profile {none,standard_component_pairs,v7_mechanical_53}] [--emit-mco EMIT_MCO] [--force] [--dry-run] [--json] [--json-output JSON_OUTPUT] [--no-color] [target]Positional Arguments
| Argument | Required | Description |
|---|---|---|
target | No | output .PcbDoc path, PcbDoc create config path, or omitted to write/use pcbdoc_create.jsonc |
Options
| Flag | Default | Description |
|---|---|---|
--layers <LAYERS> | 2 | generated rigid copper layer count (default: 2) |
--layer-stack-template <LAYER_STACK_TEMPLATE> | — | use an Altium Monkey layer-stack template instead of generated rigid rows |
--stackupx-file <STACKUPX_FILE> | — | use a .stackupx file instead of generated rigid rows |
--width-mils <WIDTH_MILS> | 3000 | rectangular board width in mils (default: 3000) |
--height-mils <HEIGHT_MILS> | 2000 | rectangular board height in mils (default: 2000) |
--mechanical-layer-profile <MECHANICAL_LAYER_PROFILE> | 'standard_component_pairs' | optional mechanical layer/kind initialization profile (choices: none, standard_component_pairs, v7_mechanical_53) |
--emit-mco <EMIT_MCO> | — | write the generated MCO JSON file before execution |
--force | False | overwrite an existing PcbDoc or emitted MCO file |
--dry-run | False | validate and report planned outputs without writing files |
--json | False | write the MCO execution report JSON to stdout |
--json-output <JSON_OUTPUT> | — | write the MCO execution report JSON to this file |
--no-color | False | disable terminal color in human output |
Examples
# Create a new .PcbDoc board through MCO
acr pcbdoc create out/board.PcbDoc