sch_create_net_flag
Create Power, Ground, AnalogGround, or ProtectGround net flags in an EasyEDA schematic. Add a single flag by coordinates or batch up to 10 at once to label nets quickly.
Instructions
Create one or more Power/Ground/AnalogGround/ProtectGround net flags in the schematic. Pass individual parameters for a single flag, or use "batch" array for multiple flags in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate (for single creation) | |
| y | No | Y coordinate (for single creation) | |
| net | No | Net name (for single creation) | |
| batch | No | Array of net flags to create in one call (max 10 — each takes ~1.5s). When provided, the individual parameters above are ignored. | |
| mirror | No | Whether to mirror | |
| document | Yes | Target document UUID — auto-switches to this document before executing. Get UUIDs from list_instances or editor_get_open_tabs. | |
| rotation | No | Rotation angle in degrees | |
| component | No | Library device reference override | |
| instance_id | No | Target EasyEDA instance ID (8-char hex). Required when multiple instances are connected. Omit when only one instance is connected (auto-selected). Use list_instances to see connected instances. | |
| identification | No | Net flag type (for single creation) |