Connect pin to net
easyeda_schematic_connect_pin_to_netConnect a component pin to a net in EasyEDA by drawing a wire stub tagged with the net name, enabling ERC, ratsnest, and autorouting connectivity.
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 | |||