SlabShapeEditorAddPoints Method

Add an array of points to the element.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public IList<SlabShapeVertex> AddPoints(
	IList<XYZ> points
)

Parameters

points  IListXYZ
The point array.

Return Value

IListSlabShapeVertex
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