Home > SCH_PrimitivePin > getAllPrimitiveId
SCH_PrimitivePin.getAllPrimitiveId() 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.
获取所有引脚的图元 ID
Signature
typescript
getAllPrimitiveId(componentPrimitiveId?: string | ISCH_PrimitiveComponent): Promise<Array<string>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
componentPrimitiveId | string | ISCH_PrimitiveComponent | (Optional) |
Returns
Promise<Array<string>>
引脚的图元 ID 数组
Remarks
当处于符号编辑器时,componentPrimitiveId 应始终为 undefined