Distance Property


Distance from the original object to located point.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public double Distance { get; internal set; }
Visual Basic
Public Property Distance As Double
	Get
	Friend Set
Visual C++
public:
property double Distance {
	double get ();
	internal: void set (double value);
}

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException Thrown in the getter when this property has not been set by the method providing the result.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →