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

acr refactor

[experimental] preview or stage a verified schematic name refactor.

Experimental: Preview or stage verified schematic name refactors without directly overwriting source documents unless explicitly applied.

PropertyValue
Commandacr refactor (or altium-cruncher refactor)
CategoryCompilation & Project Analysis

Usage

text
acr refactor [-h] [--format {csv,json}] [--proposal PROPOSAL] [--rename-map RENAME_MAP] [--list-projects] [--list-nets] [--source-selection SOURCE_SELECTION | --list-system-nets | --list-system-endpoints | --system-endpoint SYSTEM_ENDPOINT | --system-net SYSTEM_NET] [--rename-interfaces] [--field-map FIELD_MAP] [-o OUTPUT] [--apply] [project]

Arguments And Options

Positional Arguments

ArgumentRequiredDescription
projectNoPrjPcb or PrjMbd (auto-detected in the current directory when omitted)

Options

FlagDefaultDescription
--format <FORMAT>'csv'Read-only report format; JSON also accepts a detached compiled-view JSON input (choices: csv, json)
--proposal <PROPOSAL>—Explicit reviewed rename-proposal JSON for preview/apply; excludes CSV intent
--rename-map <RENAME_MAP>—CSV: old_netname,new_netname or legacy_net,proposed_net; optional project,board,net_id
--list-projectsFalseDiscover PrjMbd board projects and write CSV-relative project paths
--list-netsFalseWrite existing Design-local net IDs and names for scoped selection
--source-selection <SOURCE_SELECTION>—Typed Monkey SourceOccurrence JSON to trace in --format json mode
--list-system-netsFalseReport all canonical System partitions and repeated/internal child-net memberships
--list-system-endpointsFalseReport exact and unresolved PrjMbd connector endpoint evidence
--system-endpoint <SYSTEM_ENDPOINT>—MBS terminal source key to trace through a prepared System net
--system-net <SYSTEM_NET>—Prepared canonical System net ID to trace to all board contributors
--rename-interfacesFalseAlso propose matching port and sheet-entry Names; differing names require explicit field decisions
--field-map <FIELD_MAP>—Reviewed preview CSV; blank new_value retains the authored name
-o, --output <OUTPUT>—Export directory for lists; fresh preview/apply directory (default: ./output/refactor)
--applyFalseExecute staged MCO and verify names/connectivity

Examples

powershell
# Preview a schematic name refactor on a project
acr refactor project.PrjPcb --help
altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)