Measurements
Distance
Orthogonal measurement tool to measure distance between two points.
Planar
Add a helper plane before drawing the area to align points to the plane.
Area
Calculate area between points.
Related Pages
GraphQL API reference
This section lists a few examples. Please refer to HxDR GraphQL Playground (opens in a new tab) to explore complete schema.
mutation CreateMeasurementAnnotationV2 {
createMeasurementAnnotationV2(
createMeasurementAnnotationInput: {
parentId: "[parentId]"
title: "[title]"
description: "[description]"
data: {
points: { x: "[x]", y: "[y]", z: "[z]" }
lookAt: {
distance: "[distance]"
pitch: "[pitch]"
roll: "[roll]"
yaw: "[yaw]"
ref: { x: "[x]", y: "[y]", z: "[z]" }
}
measurementType: "[measurementType]"
}
}
) {
... on MeasurementAnnotationOutput {
id
title
description
thumbnailPath
createdAt
modifiedAt
}
}
}
parentIdThe measurement's parent ID. For example, the ID of the GroupedAsset.
title The measurement's title.
descriptionA description of the measurement's.
For the description of additional inputs such as points, lookAt, distance, yaw, pitch, roll, ref and measurementType needed to create measurements, search in the HxDR GraphQL Playground (opens in a new tab) .
To successfully execute a request on HxDR GraphQL playground, See following :
JS-SDK reference
Measurements
Measurements APIs