eda_sch_primitive_component_create_net_flag
Create a net flag (power, ground, or analog ground) on a schematic at specified coordinates to define net connectivity in EasyEDA Pro.
Instructions
sch_PrimitiveComponent.createNetFlag(identification: 'Power' | 'Ground' | 'AnalogGround' | 'ProtectGround', net: string, x: number, y: number, rotation?: number, mirror?: boolean) -> Promise<ISCH_PrimitiveComponent | undefined> 创建网络标识 returns: 器件图元对象
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |