English
Home > PNL_PrimitiveRectangle > get
PNL_PrimitiveRectangle.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.
获取矩形图元(重载:ID 数组)
Signature
typescript
function get(primitiveIds: Array<string>): Promise<Array<IPNL_PrimitiveRectangle>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | Array<string> | 图元 ID 数组 |
Returns
Promise<Array<IPNL_PrimitiveRectangle>>
图元对象数组,任一图元不存在或执行失败返回空数组
Remarks
ADD since EDA v4.1.105