Returns the vertex with a given index.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public XYZ GetVertex( int vertexIndex )
Parameters
- vertexIndex Int32
- The index of the vertex (between 0 and getVertexCount()-1, inclusive).
Return Value
XYZA copy of the requested vertex.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | vertexIndex is out of range. |
