eda_sch_primitive_pin_modify
Modify a schematic pin's attributes in EasyEDA Pro, such as position, pin number, name, rotation, length, color, shape, and type.
Instructions
sch_PrimitivePin.modify(primitiveId: string | ISCH_PrimitivePin | ISCH_PrimitiveComponentPin, property: { x?: number; y?: number; pinNumber?: string; pinName?: string; rotation?: number; pinLength?: number; pinColor?: string | null; pinShape?: ESCH_PrimitivePinShape; pinType?: ESCH_PrimitivePinType; noConnected?: boolean; otherProperty?: Record<string, string | number | boolean> }) -> Promise<ISCH_PrimitivePin | ISCH_PrimitiveComponentPin | undefined> 修改引脚 returns: 引脚图元对象
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |