| Revit Preview Release API |
| FabricationRodInfo..::..GetRodLength Method |
| FabricationRodInfo Class See Also |
Get the current rod length. If the rod is the length will include structural extension.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2018
Syntax
| C# |
|---|
public double GetRodLength( int rodIndex ) |
| Visual Basic |
|---|
Public Function GetRodLength ( _ rodIndex As Integer _ ) As Double |
| Visual C++ |
|---|
public: double GetRodLength( int rodIndex ) |
Parameters
- rodIndex
- Type: System..::..Int32
The rod index.
Return Value
returns rod length of hanger for specified end.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | the index rodIndex is should be in range of rod count. |