On This Page (5)
acr schdoc
Create Altium .SchDoc files through generated MCO operations.
| Property | Value |
|---|---|
| Command | acr schdoc (or altium-cruncher schdoc) |
| Category | Document Authoring, Change Orders & Board Planning |
| Workflow Guide | SchDoc Guide |
Usage
acr schdoc [-h] <schdoc-action> ...Subcommands
| Subcommand | Summary |
|---|---|
acr schdoc create | create a new schematic document |
acr schdoc create
Create a new schematic document.
acr schdoc create [-h] [--sheet-style SHEET_STYLE] [--template TEMPLATE] [--apply-template-visual-sheet-settings] [--custom-width-mils CUSTOM_WIDTH_MILS] [--custom-height-mils CUSTOM_HEIGHT_MILS] [--emit-mco EMIT_MCO] [--force] [--dry-run] [--json] [--json-output JSON_OUTPUT] [--no-color] [target]Positional Arguments
| Argument | Required | Description |
|---|---|---|
target | No | output .SchDoc path, SchDoc create config path, or omitted to write/use schdoc_create.jsonc |
Options
| Flag | Default | Description |
|---|---|---|
--sheet-style <SHEET_STYLE> | 'D' | Altium SheetStyle enum name or integer (default: D) |
--template <TEMPLATE> | — | optional .SchDot template to apply |
--apply-template-visual-sheet-settings | False | also copy visual sheet settings from the template |
--custom-width-mils <CUSTOM_WIDTH_MILS> | — | custom schematic sheet width in mils |
--custom-height-mils <CUSTOM_HEIGHT_MILS> | — | custom schematic sheet height in mils |
--emit-mco <EMIT_MCO> | — | write the generated MCO JSON file before execution |
--force | False | overwrite an existing SchDoc 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 .SchDoc document through MCO
acr schdoc create out/sheet.SchDoc