Returns the vertex with a given index.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
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. |