Returns the triangle corresponding to the given index.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public TriangleInShellComponent GetTriangle( int triangleIndex )
Parameters
- triangleIndex Int32
- The index of the triangle (between 0 and TriangleCount-1, inclusive).
Return Value
TriangleInShellComponentThe triangle.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | triangleIndex is out of range. |
