Copy Routing Pattern
copy_routing_patternCopy traces and vias from source components to matching target components. Offset is calculated automatically from the first component pair, simplifying routing for identical circuit blocks.
Instructions
Copy routing pattern (traces and vias) from a group of source components to a matching group of target components. The offset is calculated automatically from the position difference between the first source and first target component. Useful for replicating routing between identical circuit blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceRefs | Yes | References of the source components (e.g. ['U1', 'R1', 'C1']) | |
| targetRefs | Yes | References of the target components in same order as sourceRefs (e.g. ['U2', 'R2', 'C2']) | |
| traceWidth | No | Override trace width in mm (default: keep original width) | |
| includeVias | No | Also copy vias (default: true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |