Skip to main content

DIQ_Layout

Last updated 19/02/2026

Purpose

The

DIQ_Layout
type represents an individual measurable page or workspace within a drawing revision in DimensionIQ.

A layout acts as the interactive measurement surface where users create, modify, and manage dimensions. It defines scaling, calibration, unit configuration, display settings, and drawing metadata for a specific page of a drawing.

This is commonly used when:

  • Loading drawing pages into the widget
  • Managing measurement settings per page
  • Applying calibration and scaling adjustments
  • Controlling visual display preferences
  • Storing title block metadata
  • Persisting layout-level configuration

By structuring layout configuration into a defined type, DimensionIQ ensures consistent measurement behavior and predictable rendering across integrations.

Why This Type Exists

Drawings often contain multiple pages, views, or sheets, each with different:

  • Scales
  • Units
  • Calibration settings
  • Measurement rules
  • Display references

The

DIQ_Layout
type exists to:

  • Provide per-page measurement configuration
  • Store calibration and scaling values independently
  • Preserve layout-specific visual settings
  • Support BIM-specific unit handling
  • Maintain revision-aware layout states
  • Enable locking and workflow control

Because the host application is responsible for persistence and business rules,

DIQ_Layout
provides a structured contract that allows the widget to safely render and measure within a fully defined configuration context.

Properties

PropertiesTypeRequiredDescription
key
string
YesUnique identifier for the layout
drawingRevisionKey
string
YesReferences the parent
DIQ_DrawingRevision
ID
string
YesExternal or business-specific identifier for the layout
name
string
YesDisplay name of the layout (eg, "Ground Floor Plan")
UOM
string
YesPrimary unit of measurement used in this layout
bimLengthUOM
string
NoBIM-specific length unit
bimAreaUOM
string
NoBIM-specific area unit
bimVolumeUOM
string
NoBIM-specific volume unit
bimWeightUOM
string
NoBIM-specific weight unit
revisedState
string
NoIndicates the revision state of the layout (eg, Revising, Revised)
locked
boolean
YesIndicates whether the layout is locked for editing
multiplier
number
YesGlobal measurement multiplier applied to dimensions
xscale
number
YesX-axis scale factor
yscale
number
YesY-axis scale factor
zscale
number
YesZ-axis scale factor (used for 3D/BIM scaling)
xcalibration
number
YesX-axis calibration factor
ycalibration
number
YesY-axis calibration factor
calibrationAngle
number
YesRotation angle applied during calibration
dimensionMode
string
YesDetermines how dimensions behave (eg, 2D, BIM, scaled)
backgroundColor
string
NoLayout background color setting
showText
boolean
YesControls visibility of dimension text
showHatching
boolean
NoControls display of hatch patterns
warnMissingXRefs
boolean
YesIndicates whether missing external references should trigger warnings
thumbnail
string
NoEncoded thumbnail preview of the layout
extendedData
string
NoHost defined extended metadata
TBTitle
string
NoTitle block title value
TBDrawingNumber
string
NoTitle block drawing number
TBRevision
string
NoTitle block revision value
TBDateReceived
string
NoTitle block received date

Behavioral Expectations

Identity and Association
  • key
    must be unique and stable
  • drawingRevisionKey
    must reference a valid
    DIQ_DrawingRevision
  • A layout cannot exist independently of a drawing revision
Measurement Configuration
  • UOM
    how DimensionIQ interprets the measurements from this drawing
  • BIM-specific
    UOM
    properties override or supplement standard units when BIM mode is active
  • multiplier
    applies globally to calculated measurements
Scaling and Calibration
  • xscale
    ,
    yscale
    ,
    zscale
    define drawing scaling factors
  • xcalibration
    ,
    ycalibration
    ,
    calibrationAngle
    are used during calibration workflows
  • Incorrect calibration values will affect all measurement outputs
  • The host is responsible for persisting accurate calibration values
Locking and Workflow
  • When
    locked
    is
    true
    :
    • Editing operations should be prevented
    • New dimensions may be blocked
    • UI changes may be restricted
  • revisedState
    may influence workflow logic
Display Controls
  • showText
    controls dimension label visibility
  • showHatching
    toggles hatch rendering
  • backgroundColor
    controls visual rendering context
  • warnMissingXRefs
    enables validation warnings for missing references
Title Block Metadata
  • TB-prefixed properties store title block data
  • These values are informational and do not affect measurement logic
  • Host applications may synchronize these values with external systems

Summary

DIQ_Layout
defines the measurable workspace within a drawing revision in DimensionIQ.

It controls scaling, calibration, units, workflow state, rendering preferences, and title block metadata for a specific drawing page.

By separating layout configuration from drawings and revisions, DimensionIQ ensures precise measurement control, flexible integration, and predictable rendering behavior across host applications.