GetRodEndPosition Method


Gets the position of the rod end.

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

Syntax

C#
public XYZ GetRodEndPosition(
	int rodIndex
)
Visual Basic
Public Function GetRodEndPosition ( _
	rodIndex As Integer _
) As XYZ
Visual C++
public:
XYZ^ GetRodEndPosition(
	int rodIndex
)

Parameters

rodIndex
Type: SystemInt32
The index of the rod.

Return Value

The position of the rod end.

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 →