RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Dimension

Dimension.Origin

Property
Description:
The dimension origin.
Remarks:
The origin is the middle point of the dimension line that makes up the dimension. This property is for use with single-segment dimensions only. For multi-segment dimensions use the corresponding property of the DimensionSegment class.
Syntax
public XYZ Origin { get; }
Exceptions
Exception Condition
InvalidOperationException Thrown when:SpotDimension has more than one segments.