On This Page (13) acr mate
Create or run an editable mate JSONC config. With no config in the current directory, writes mate.a0.jsonc. With a config, generates the derived MCO and runs it.
Property Value Command acr mate (or altium-cruncher mate) Category Document Authoring, Change Orders & Board Planning Config File mate.a0.jsonc (fallback mate.jsonc; auto-created on first acr mate run)
Usage
text Copy
acr mate [-h] [--config CONFIG] [--dry-run] [--launch] [--ad-version AD_VERSION] [--altium-path ALTIUM_PATH] [--json] [--json-output JSON_OUTPUT] [--no-color] {plan,libs} ...
Arguments And Options
Options
Flag Default Description --config <CONFIG>— mate JSONC config path (default: mate.a0.jsonc, then mate.jsonc) --dry-runFalsegenerate and report operations without writing supported outputs --launchFalselaunch the generated mate project in Altium after a successful run --ad-version, --series <AD_VERSION>— Altium major series to launch with --launch, for example AD25 --altium-path <ALTIUM_PATH>— explicit X2.exe or install root for --launch --jsonFalsewrite the mate MCO execution report JSON to stdout --json-output <JSON_OUTPUT>— write the mate MCO execution report JSON to this file --no-colorFalsedisable terminal color in human output
Subcommands
acr mate init
text Copy
acr mate init [-h] [--force] config
Positional Arguments
Argument Required Description configYes config output path
Options
Flag Default Description --forceFalseoverwrite config
acr mate plan
Generate an MCO file from a mate config.
text Copy
acr mate plan [-h] [--output-mco OUTPUT_MCO] [--force] [config]
Positional Arguments
Argument Required Description configNo mate JSONC config (default: mate.a0.jsonc, then mate.jsonc)
Options
Flag Default Description --output-mco <OUTPUT_MCO>— MCO output path (default: config path with .mco.jsonc suffix) --forceFalseoverwrite MCO
acr mate libs
List discoverable mate symbols and footprints.
text Copy
acr mate libs [-h] [--no-recursive] [--absolute] [--no-color] [--json] [roots ...]
Positional Arguments
Argument Required Description rootsNo library roots to scan (default: current directory)
Options
Flag Default Description --no-recursiveFalsescan only the direct files in each root --absoluteFalseshow absolute paths in human output instead of paths relative to cwd --no-colorFalsedisable terminal color in human output --jsonFalsewrite machine-readable JSON
acr mate inspect
text Copy
acr mate inspect [-h] [--doc PCBDOC] [--project-context {auto,none,schematic}] file
Positional Arguments
Argument Required Description fileYes DUT .PrjPcb or .PcbDoc input
Options
Flag Default Description --doc, --pcbdoc <PCBDOC>— with .PrjPcb input, select a specific PcbDoc --project-context <PROJECT_CONTEXT>'auto'project-context mode for standalone PcbDoc inputs (default: auto) (choices: auto, none, schematic)
acr mate seed
text Copy
acr mate seed [-h] [--config CONFIG] [--doc PCBDOC] [--project-context {auto,none,schematic}] [--mate-config] [--known-parts-manifest KNOWN_PARTS_MANIFEST] [--force] file
Positional Arguments
Argument Required Description fileYes DUT .PrjPcb or .PcbDoc input
Options
Flag Default Description --config <CONFIG>WindowsPath('mate.jsonc')config output path (default: mate.jsonc) --doc, --pcbdoc <PCBDOC>— with .PrjPcb input, select a specific PcbDoc --project-context <PROJECT_CONTEXT>'auto'project-context mode for standalone PcbDoc inputs (default: auto) (choices: auto, none, schematic) --mate-configFalsewrite the draft selector/projection mate-config schema --known-parts-manifest <KNOWN_PARTS_MANIFEST>— with --mate-config, set known_parts.manifest in the seeded config --forceFalseoverwrite config
acr mate parts-cache
text Copy
acr mate parts-cache [-h] {build} ...
acr mate run
text Copy
acr mate run [-h] [--dry-run] [--emit-mco EMIT_MCO] [--force] [--json] [--json-output JSON_OUTPUT] [--no-color] config
Positional Arguments
Argument Required Description configYes mate JSONC config
Options
Flag Default Description --dry-runFalsereport generated operations without writing supported outputs --emit-mco <EMIT_MCO>— also write the generated MCO file before running --forceFalseoverwrite --emit-mco output when present --jsonFalsewrite the mate MCO execution report JSON to stdout --json-output <JSON_OUTPUT>— write the mate MCO execution report JSON to this file --no-colorFalsedisable terminal color in human output
Examples
powershell Copy
# Initialize or preview a mating-board plan
acr mate init
acr mate plan --config mate.a0.jsonc
# Run mating-board project generation with dry-run first
acr mate run --config mate.a0.jsonc --dry-run