Measuring circuit size using scripts
Define reusable groups and board dimensions in TSX. See automatic PCB layout for layout controls and examples.
If you are building tooling that measures rendered designs, see the advanced circuit-size scripting guide. That integration inspects generated output and is not required for authoring circuits.