Skip to main content

onDrawingDelete

Last updated 12/05/2026

Definition

is a host callback invoked by
DimensionIQWidget
when a user deletes a drawing revision in the widget and the host application must handle it's persistent removal.

The host application is responsible for deleting the provided

record.

Once processing is complete, please refer to the

onResponse
contract in the Widget Callback Introduction.

This callback ensures the widget and host application remain synchronized when drawing revisions are deleted.

Function Signature

TypeScript
Function Signature
onDrawingDelete: (
drawing: DIQ_DrawingRevision,
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

drawing
Type: DIQ_DrawingRevision
Description: The

object to be deleted.

onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.

Examples

onDrawingDelete