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

DividedPath.Distance

Property
Description:
The distance between points that are distributed along the path according to the selected layout. When the layout is set to 'FixedDistance' this value can be set to desired distance. The measurement type determines how the distance is measured.
Remarks:
This does not take into account points obtained by intersections with other elements. When the layout is set to 'None' the distance is the value that would be used by the 'FixedDistance' layout.
Syntax
public double Distance { get; set; }
Exceptions
Exception Condition
ArgumentOutOfRangeException When setting this property: The distance is too small.
InvalidOperationException When setting this property: The distance can only be set when the layout of this DividedPath is set to 'FixedDistance' or 'None'.