Skip to main content

onListDrawings

Last updated 22/07/2026

Definition

is a host callback invoked by
DimensionIQWidget
when it requires the host application to provide the list of drawings associated with a specific revision.

The host application is responsible for retrieving all stored

records for the requested revision and returning them through the onResponse callback.

Drawing data is persisted separately through

. When a drawing requires loading, DimensionIQ will retrieve the associated storage content through the

onStorageGet
callback.

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 drawings associated with the revision.

Function Signature

TypeScript
Function Signature
onListDrawings: (
revision: DIQ_Revision,
onResponse: (result: DIQ_Result, drawings: DIQ_DrawingRevision[]) => void
) => void;

Callback Parameters

revision
Type: DIQ_Revision
Description: The

object for which associated drawing revisions are being requested.

onResponse
Type: (result: DIQ_Result, drawings: DIQ_DimensionRevision[]) => void
Description: Callback function that must be called by the host to complete the operation, and return an array of

objects.

Examples

onListDrawings