English
Home > SCH_PrimitiveGenericPort > get
SCH_PrimitiveGenericPort.get() 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
function get(primitiveIds: string): Promise<ISCH_PrimitiveGenericPort | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | string | 网络端口的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组 |
Returns
Promise<ISCH_PrimitiveGenericPort | undefined>
网络端口图元对象,undefined 表示获取失败
Remarks
ADD since EDA v5