Home > SCH_PrimitiveComponent > getAllPinsByPrimitiveId
SCH_PrimitiveComponent.getAllPinsByPrimitiveId() method
此 API 当前处于 BETA 预览状态,希望得到开发者的反馈。它的任何功能都可能在接下来的开发进程中被修改,请不要将它用于任何正式环境。
获取器件关联的所有引脚
签名
typescript
getAllPinsByPrimitiveId(primitiveId: string): Promise<Array<ISCH_PrimitiveComponentPin> | undefined>;
1
参数名
参数 | 类型 | 描述 |
---|---|---|
primitiveId | string | 器件图元 ID |
返回值
Promise<Array<ISCH_PrimitiveComponentPin> | undefined>
器件引脚图元数组