Dimension.LeaderEndPosition Property

The position of the dimension's leader end point.


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

Syntax

C#

public XYZ LeaderEndPosition { get; set; }

Property Value

XYZ

Exceptions

ExceptionCondition
ArgumentNullException When setting this property: A non-optional argument was null
InvalidOperationException Dimension must have leader. -or- Thrown when:
  • SpotDimension style type is SpotSlope.
  • Using equality formula.
  • Dimension style is ordinate.
-or- Thrown when:
  • SpotDimension has more than one segments.
-or-

Remarks

This property is not applicable to all dimensions. For example, it is not available for spot slope dimensions, multi-segments dimensions, dimensions using equality formula, and when dimension style is ordinate.

If the position is not applicable, this property throws InvalidOperationException.

Notes for SpotDimension:

See Also

Reference

Dimension Class
Autodesk.Revit.DB Namespace