Revit 2025 API
Rebar |
Return a reference to one of the vertices in the definition.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public RebarShapeVertex GetVertex( int vertexIndex )
Public Function GetVertex ( vertexIndex As Integer ) As RebarShapeVertex
public: RebarShapeVertex^ GetVertex( int vertexIndex )
member GetVertex : vertexIndex : int -> RebarShapeVertex
Parameters
- vertexIndex Int32
- Index of the vertex (0 to NumberOfVertices - 1).
Return Value
RebarShapeVertexThe requested vertex.

Exception | Condition |
---|---|
ArgumentException | vertexIndex is not between 0 and NumberOfVertices. |
See Also