Revit 2025 API
Slab |
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 )
Public Function AddPoints ( points As IList(Of XYZ) ) As IList(Of SlabShapeVertex)
public: IList<SlabShapeVertex^>^ AddPoints( IList<XYZ^>^ points )
member AddPoints : points : IList<XYZ> -> IList<SlabShapeVertex>
Parameters
Return Value
IListSlabShapeVertexThe newly added slab shape vertices.

Exception | Condition |
---|---|
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 |

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