Connect pin to net
easyeda_schematic_connect_pin_to_netConnects an EasyEDA pin to a named net by drawing a tagged wire stub, merging same-net wires globally for ERC, ratsnest, and autorouting.
Instructions
Create real EasyEDA connectivity for a pin: draws a short wire stub from its exact coordinate, tagged with netName. Same-netName wires merge globally, so this joins the pin to everything else on that net — visible to ERC, ratsnest, and autorouting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| netName | Yes | The net name to connect the pin to (e.g. VCC, GND, DATA0) | |
| pinNumber | Yes | The pin number or pin name on the component (e.g. "1", "VCC", "GND") | |
| projectId | Yes | The project/schematic ID | |
| stubLength | No | Length of the wire stub drawn outward from the pin. Defaults to 10. | |
| primitiveId | Yes | The primitive ID of the component | |
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||