sch_add_directive
Places a parameter-set directive at specified schematic coordinates to attach a name=value design parameter to a wire or net for compile-time propagation.
Instructions
Place a parameter-set directive at (x, y) on the active schematic.
A parameter-set directive attaches a single name=value design
parameter to a wire or net. Drop the directive on top of the target
wire/net and the compile engine will propagate the parameter. Common
uses:
param_name="DifferentialPair", param_value="USB", marks the net as a member of the USB differential pair.param_name="NetClass", param_value="HighSpeed", assigns the net to the HighSpeed class.param_name="Signal_Stimulus", param_value="...", any custom per-net rule parameter.
Args: x, y: Location in mils, place ON the target wire/net. param_name: Parameter name (e.g. "NetClass", "DifferentialPair") param_value: Parameter value
Returns: Dictionary confirming placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| param_name | Yes | ||
| param_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||