SetDistributionPath Method


Rebar Curves Data Set Distribution Path Method

Sets a new distribution path to be applied to the rebar. This information is set to the rebar after the API execution is finished successfully.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetDistributionPath(
	IList<Curve> path
)

Parameters

path IList Curve
Input curves that describe the new path.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
For a free form rebar set the distance between two consecutive bars may be different if it is calculated between different points on bars. The distribution path is an array of curves with the property that based on these curves the set was calculated to respect the layout rule and number of bars or spacing.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →