SetPoints Method


Change the sequence of points interpolated by this curve.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public void SetPoints(
	ReferencePointArray points
)
Visual Basic
Public Sub SetPoints ( _
	points As ReferencePointArray _
)
Visual C++
public:
void SetPoints(
	ReferencePointArray^ points
)

Parameters

points
Type: Autodesk.Revit.DB ReferencePointArray
An array of 2 or more ReferencePoints.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions 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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →