Home > PCB_PrimitiveDimension > delete
PCB_PrimitiveDimension.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
delete(primitiveIds: string | IPCB_PrimitiveDimension | Array<string> | Array<IPCB_PrimitiveDimension>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
primitiveIds | string | IPCB_PrimitiveDimension | Array<string> | Array<IPCB_PrimitiveDimension> | 尺寸标注的图元 ID 或尺寸标注图元对象 |
Returns
Promise<boolean>
删除操作是否成功