Go to: Related nodes. Attributes.

This node is used to measure and visually display distances between two specified points.

It has two inputs in the form of the two points that the distance has to be measured between, and one output, namely the distance.

The node is created by the "distanceDimension" command or when the "distance" tool is used. Either of the points can be moved using the "move" tool and the distance updates interactively.

Node nameParentsMFn typeCompatible function sets
distanceDimShapedimensionShapekDistancekBase
kNamedObject
kDependencyNode
kDagNode
kShape
kDimension
kDistance

Related nodes

dimensionShape, annotationShape, nurbsDimShape, arcLengthDimension, paramDimension

Attributes (10)

distance, endPoint, endPointX, endPointY, endPointZ, precision, startPoint, startPointX, startPointY, startPointZ

Long name (short name)TypeDefaultFlags
startPoint (sp) double3outputinputconnectablestorable
Point to start measuring distance from.
startPointX (spx) distance (double)0.0cmoutputinputconnectablestorable
x-coord of startPoint
startPointY (spy) distance (double)0.0cmoutputinputconnectablestorable
y-coord of startPoint
startPointZ (spz) distance (double)0.0cmoutputinputconnectablestorable
z-coord of startPoint
endPoint (ep) double3outputinputconnectablestorable
Point to measure distance to.
endPointX (epx) distance (double)0.0cmoutputinputconnectablestorable
x-coord of endPoint
endPointY (epy) distance (double)0.0cmoutputinputconnectablestorable
y-coord of endPoint
endPointZ (epz) distance (double)0.0cmoutputinputconnectablestorable
z-coord of endPoint
precision (prec) integer6outputinputconnectablestorable
precision to be displayed
distance (dist) double0.0outputconnectable
Resultant distance value.