eda_sch_primitive_pin_create
Create a schematic pin at specified coordinates with number, name, rotation, length, color, shape, and type. Returns a pin primitive object for EasyEDA Pro circuit design.
Instructions
sch_PrimitivePin.create(x: number, y: number, pinNumber: string, pinName?: string, rotation?: number, pinLength?: number, pinColor?: string | null, pinShape?: ESCH_PrimitivePinShape, pinType?: ESCH_PrimitivePinType) -> Promise<ISCH_PrimitivePin | undefined> 创建引脚 returns: 引脚图元对象
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |