pcb_create_diff_pair
Creates a differential pair from two existing PCB nets so impedance and matched-length routing constraints can be applied.
Instructions
Create a differential pair object from two existing nets.
The two nets must already exist on the board (typically present after update_pcb / ECO). The diff-pair object lets Altium apply differential routing constraints and the interactive router to honour impedance / matched-length rules between the pair.
Args: positive_net: Positive-side net name (e.g. "USB_DP") negative_net: Negative-side net name (e.g. "USB_DM") name: Optional diff-pair name (defaults to "_")
Returns: Dictionary confirming creation with name, positive_net, negative_net
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| negative_net | Yes | ||
| positive_net | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||