sch_increment_designators
Offset trailing numbers of schematic designators by a delta, optionally filtered by prefix, to avoid collisions after copying blocks before re-annotation.
Instructions
Offset the trailing number of schematic designators by a delta.
Adds delta to the numeric suffix of every component designator
on the active sheet (e.g. delta=100 turns R5 into R105),
optionally restricted to a designator prefix. Handy after copying
a block to avoid designator collisions before re-annotating.
Args: delta: Non-zero integer added to each designator's number. prefix: If set (e.g. "R"), only designators with this letter prefix are changed.
Returns: Dict with success, modified (count), delta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | Yes | ||
| prefix | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||