altium monkey v2026.11.26 · gobblerito
On This Page (7)

acr prjpcb

Create .PrjPcb project skeletons through JSONC config and MCO operations. The create subcommand writes a sample config when none exists, or runs the existing config when one is present.

PropertyValue
Commandacr prjpcb (or altium-cruncher prjpcb)
CategoryDocument Authoring, Change Orders & Board Planning
Workflow GuidePrjPcb Guide

Usage

text
acr prjpcb [-h] <prjpcb-action> ...

Subcommands

SubcommandSummary
acr prjpcb createcreate a project skeleton from JSONC config
acr prjpcb initwrite a project skeleton JSONC config
acr prjpcb add-sheetcreate a new sheet and add it to an existing PrjPcb

acr prjpcb create

Create a project skeleton from JSONC config.

text
acr prjpcb create [-h] [--defaults] [--project-name PROJECT_NAME] [--layers LAYERS] [--write-config WRITE_CONFIG] [--emit-mco EMIT_MCO] [--force] [--dry-run] [--json] [--json-output JSON_OUTPUT] [--no-color] [config]

Positional Arguments

ArgumentRequiredDescription
configNoproject config path or bare project name

Options

FlagDefaultDescription
--defaultsFalsewrite and use a default config if the config path does not exist
--project-name <PROJECT_NAME>—default project name used with --defaults (default: infer from config path or bare name)
--layers <LAYERS>2default rigid copper layer count used with --defaults
--write-config <WRITE_CONFIG>—write the normalized config used to this path
--emit-mco <EMIT_MCO>—write the generated MCO JSON file before execution
--forceFalseoverwrite generated project outputs and emitted files
--dry-runFalsevalidate and report planned outputs without writing CAD files
--jsonFalsewrite the MCO execution report JSON to stdout
--json-output <JSON_OUTPUT>—write the MCO execution report JSON to this file
--no-colorFalsedisable terminal color in human output

acr prjpcb init

Write a project skeleton JSONC config.

text
acr prjpcb init [-h] [--project-name PROJECT_NAME] [--layers LAYERS] [--force] config

Positional Arguments

ArgumentRequiredDescription
configYesoutput project config path or bare project name; bare names write NAME.project.jsonc

Options

FlagDefaultDescription
--project-name <PROJECT_NAME>—default project name (default: infer from config path or bare name)
--layers <LAYERS>2default rigid copper layer count
--forceFalseoverwrite an existing config

acr prjpcb add-sheet

Create a new sheet and add it to an existing PrjPcb.

text
acr prjpcb add-sheet [-h] [--sheet-style SHEET_STYLE] [--emit-mco EMIT_MCO] [--force] [--dry-run] [--json] [--json-output JSON_OUTPUT] [--no-color] prjpcb sheet

Positional Arguments

ArgumentRequiredDescription
prjpcbYestarget .PrjPcb path
sheetYesnew .SchDoc path

Options

FlagDefaultDescription
--sheet-style <SHEET_STYLE>'D'Altium SheetStyle enum name or integer (default: D)
--emit-mco <EMIT_MCO>—write the generated MCO JSON file before execution
--forceFalseoverwrite the SchDoc if it already exists
--dry-runFalsevalidate and report planned outputs without writing files
--jsonFalsewrite the MCO execution report JSON to stdout
--json-output <JSON_OUTPUT>—write the MCO execution report JSON to this file
--no-colorFalsedisable terminal color in human output

Examples

powershell
# Create a new minimal .PrjPcb project
acr prjpcb create out/board.PrjPcb

# Add a schematic sheet to an existing project
acr prjpcb add-sheet out/board.PrjPcb sheet1.SchDoc
altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)