RVTDocs.com

RebarCurvesData.SetDistributionPath

Method
Description:
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.
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.
Syntax
public void SetDistributionPath(
	IList<Curve> path
)
Parameters
Parameter Type Description
path IList Input curves that describe the new path.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null