Skip to main content

onDrawingUpdate

Last updated 12/05/2026

Definition

is a host callback invoked by
DimensionIQWidget
when a user modifies an existing drawing revision within the widget component. The host application is responsible for persisting those updates.

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 regarding the drawing's updated state.

Function Signature

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

Callback Parameters

drawing
Type: DIQ_DrawingRevision
Description: The updated

object from the widget after a user modifies an existing drawing revision.

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

Examples

onDrawingUpdate