SetPoints Method


Curve By Points Set Points Method

Change the sequence of points interpolated by this curve.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetPoints(
	ReferencePointArray points
)

Parameters

points ReferencePointArray
An array of 2 or more ReferencePoints.
Exceptions
Exception Condition
ArgumentException Thrown when the array contains fewer than 2 points, when the array contains duplicates, or when adjacent points are located too close together.
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 →