SpotDimension.LeaderShoulderPosition Property

SpotDimensionLeaderShoulderPosition Property

Position of spot dimension's leader shoulder point.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public XYZ LeaderShoulderPosition { get; set; }
Public Property LeaderShoulderPosition As XYZ
	Get
	Set
public:
property XYZ^ LeaderShoulderPosition {
	XYZ^ get ();
	void set (XYZ^ value);
}
member LeaderShoulderPosition : XYZ with get, set

Property Value

XYZ
Exceptions
ExceptionCondition
ArgumentNullException When setting this property: A non-optional argument was null
InvalidOperationException Dimension must have leader. -or- Dimension's leader must have shoulder. -or- Thrown when:
  • SpotDimension style type is SpotSlope.
  • Using equality formula.
  • Dimension style is ordinate.
-or- The dimension is a SpotSlope or has no leader or leader has no shoulder.
Remarks
Setting of this property also affects LeaderEndPosition and TextPosition.
See Also