Home > SCH_PrimitivePin > getAll
SCH_PrimitivePin.getAll() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
获取所有引脚
Signature
typescript
getAll(componentPrimitiveId?: string | ISCH_PrimitiveComponent): Promise<Array<ISCH_PrimitivePin>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
componentPrimitiveId | string | ISCH_PrimitiveComponent | (Optional) |
Returns
Promise<Array<ISCH_PrimitivePin>>
引脚图元对象数组
Remarks
当处于符号编辑器时,componentPrimitiveId 应始终为 undefined