Create net flag
easyeda_schematic_create_net_flagCreate a net flag or power symbol on a schematic. Provide net name and coordinates; set identification to place a power/ground flag.
Instructions
Create a named net flag/label. With identification (Power/Ground/AnalogGround/ProtectGround) it places a power-flag symbol binding to a coincident pin (use for VCC/GND). Without it, a generic net label — cosmetic only; connect pins with add_wire stubs sharing one netName.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate on the schematic canvas | |
| y | Yes | Y coordinate on the schematic canvas | |
| netName | Yes | The net name to assign (e.g. VCC, GND, TEST_NET) | |
| rotation | No | Rotation in degrees (0, 90, 180, 270) | |
| projectId | Yes | The project/schematic ID | |
| confirmWrite | Yes | Must be the literal boolean true (not the string "true") to allow this write. | |
| identification | No | Power-flag identification. When set, places an EasyEDA power/ground flag symbol of this type. When omitted, places a generic named net label instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||