eda_sch_primitive_bus_create
Create a bus in an EasyEDA Pro schematic by providing a name and line coordinates, with optional color, width, and line type settings.
Instructions
sch_PrimitiveBus.create(busName: string, line: Array | Array<Array>, color?: string | null, lineWidth?: number | null, lineType?: ESCH_PrimitiveLineType | null) -> Promise<ISCH_PrimitiveBus | undefined> 创建总线 returns: 总线图元对象
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |