eda_sch_primitive_polygon_modify
Modify a schematic polygon primitive's style properties, including line type, colors, and width, to update its appearance in the active EDA window.
Instructions
sch_PrimitivePolygon.modify(primitiveId: string | ISCH_PrimitivePolygon, property: { line?: Array; color?: string | null; fillColor?: string | null; lineWidth?: number | null; lineType?: ESCH_PrimitiveLineType | null }) -> Promise<ISCH_PrimitivePolygon | undefined> 修改多边形 returns: 多边形图元对象
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |