SlabShapeEditor.AddPoints Method

Add an array of points to the element.


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

Syntax

C#

public IList<SlabShapeVertex> AddPoints(
	IList<XYZ> points
)

Parameters

points  IList<XYZ>
The point array.

Return Value

IList<SlabShapeVertex>
The newly added slab shape vertices.

Exceptions

ExceptionCondition
ArgumentException The input points are not valid. Please check if they are distinct on the x-y plane.
ArgumentNullException A non-optional argument was null

Remarks

The newly added points should be distinct on the x-y plane, and they should be inside the element boundary. SlabShapeEditor must be enabled before calling this method. Regenerate the document after element creation if this method is called in the same transaction.

See Also

Reference

SlabShapeEditor Class
Autodesk.Revit.DB Namespace