English
Home > PNL_PrimitiveEllipse > delete
PNL_PrimitiveEllipse.delete() 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 delete(primitiveIds: string | IPNL_PrimitiveEllipse | Array<string> | Array<IPNL_PrimitiveEllipse>): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | string | IPNL_PrimitiveEllipse | Array<string> | Array<IPNL_PrimitiveEllipse> | 图元 ID、图元对象或它们的数组 |
Returns
Promise<boolean>
删除是否成功,任一图元不存在或执行失败返回 false
Remarks
传入单个图元或图元数组均可 ADD since EDA v4.1.105