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

acr pcblib

Create and mutate Altium .PcbLib files through generated MCO operations. The initial create workflow composes a library from pcblib.create plus pcblib.add_footprint so future footprint primitive operators can extend the same path.

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

Usage

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

Subcommands

SubcommandSummary
acr pcblib createcreate a new PcbLib with one initial footprint

acr pcblib create

Create a new PcbLib with one initial footprint.

text
acr pcblib create [-h] [--footprint FOOTPRINT] [--height HEIGHT] [--description DESCRIPTION] [--parameter PARAMETER] [--primitive-parameter PRIMITIVE_PARAMETER] [--emit-mco EMIT_MCO] [--force] [--dry-run] [--json] [--json-output JSON_OUTPUT] [--no-color] file

Positional Arguments

ArgumentRequiredDescription
fileYesoutput .PcbLib path

Options

FlagDefaultDescription
--footprint <FOOTPRINT>—initial footprint name (default: output file stem)
--height <HEIGHT>'0mil'footprint height string (default: 0mil)
--description <DESCRIPTION>''footprint description
--parameter <PARAMETER>—set one footprint Parameters value as NAME=VALUE
--primitive-parameter <PRIMITIVE_PARAMETER>—set one footprint PrimitiveParameters value as NAME=VALUE
--emit-mco <EMIT_MCO>—write the generated MCO JSON file before execution
--forceFalseoverwrite an existing PcbLib or emitted MCO file
--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 .PcbLib footprint library through MCO
acr pcblib create out/footprints.PcbLib
altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)