On This Page (5)
acr outjob
Run project OutJob files through altium-monkey's Altium launcher. The runner generates a temporary Pascal script project and calls Altium's GenerateReport action.
Windows only: Executes a project-bound
.OutJobthrough locally installed Altium Designer (X2.EXE). Preferacr fabfor headless cross-platform Gerber/NC drill/IPC-2581B outputs.
| Property | Value |
|---|---|
| Command | acr outjob (or altium-cruncher outjob) |
| Category | Windows Altium Designer Automation & Utilities |
| Workflow Guide | Launcher & OutJobs Guide |
Usage
acr outjob [-h] <outjob-action> ...Subcommands
| Subcommand | Summary |
|---|---|
acr outjob run | run one or more OutJob files |
acr outjob run
Run OutJobs for a project. With no arguments, the command auto-detects exactly one .PrjPcb in the current directory and runs all .OutJob files referenced by that project.
acr outjob run [-h] [--project PROJECT] [--ad-version AD_VERSION] [--timeout TIMEOUT] [--default-generated-output-path DEFAULT_GENERATED_OUTPUT_PATH] [--bind-pcbdoc BIND_PCBDOC] [--auto-bind-pcbdoc] [--no-auto-bind-pcbdoc] [--stage-outjob-copy] [--no-normalize-generated-paths] [--script-directory SCRIPT_DIRECTORY] [--keep-script-artifacts] [--stop-on-error] [--json] [target] [outjobs ...]Positional Arguments
| Argument | Required | Description |
|---|---|---|
target | No | optional .PrjPcb project or .OutJob/name; if an OutJob is provided without --project, one local .PrjPcb must be auto-detectable |
outjobs | No | optional additional .OutJob paths or names when target is a project |
Options
| Flag | Default | Description |
|---|---|---|
--project <PROJECT> | — | project to use when running explicit OutJob paths or names |
--ad-version, --series <AD_VERSION> | — | Altium major series to use, for example AD24, AD25, 24, or 25 |
--timeout <TIMEOUT> | 300.0 | seconds to wait for each OutJob completion marker (default: 300) |
--default-generated-output-path <DEFAULT_GENERATED_OUTPUT_PATH> | — | relative fallback path for GeneratedFiles output locations |
--bind-pcbdoc <BIND_PCBDOC> | — | explicit .PcbDoc to bind into embedded OutJob DocumentPath tokens |
--auto-bind-pcbdoc | True | auto-bind the project's single PcbDoc into embedded OutJob DocumentPath tokens (default) |
--no-auto-bind-pcbdoc | True | keep embedded OutJob DocumentPath tokens unchanged |
--stage-outjob-copy | False | run a temporary OutJob copy instead of the project-registered file; normally disabled because Altium output batches are project-sensitive |
--no-normalize-generated-paths | False | skip GeneratedFiles path normalization before running |
--script-directory <SCRIPT_DIRECTORY> | — | directory for temporary Pascal script artifacts |
--keep-script-artifacts | False | keep generated .pas/.PrjScr marker and log files for inspection |
--stop-on-error | False | stop after the first failed OutJob in a batch |
--json | False | write machine-readable run results JSON |
Examples
# Run a project-bound OutJob through Altium Designer
acr outjob run project.PrjPcb --outjob fab.OutJob