Home > SCH_PrimitiveComponent > delete
SCH_PrimitiveComponent.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.
Delete Device
Signature
typescript
function delete(primitiveIds: string | ISCH_PrimitiveComponent | Array<string> | Array<ISCH_PrimitiveComponent>): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | string | ISCH_PrimitiveComponent | Array<string> | Array<ISCH_PrimitiveComponent> | Device primitive ID or Device primitive object |
Returns
Promise<boolean>
Delete Whether the operation is successful