GetRodStructureExtension Method


Gets the length of the rod's top extension into structure.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2018

Syntax

C#
public double GetRodStructureExtension(
	int rodIndex
)
Visual Basic
Public Function GetRodStructureExtension ( _
	rodIndex As Integer _
) As Double
Visual C++
public:
double GetRodStructureExtension(
	int rodIndex
)

Parameters

rodIndex
Type: SystemInt32
The rod index.

Return Value

Returns the extension length that will be applied if the rod is attached to structure.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException the index rodIndex is should be in range of rod count.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →