GetRodAttachedElementId Method


Fabrication Rod Info Get Rod Attached Element Id Method

Gets the identifier of the attached component for the specified rod.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public LinkElementId GetRodAttachedElementId(
	int rodIndex
)

Parameters

rodIndex Int32
The index of the specified rod.

Return Value

LinkElementId
Exceptions
Exception Condition
ArgumentOutOfRangeException the index rodIndex is should be in range of rod count.
InvalidOperationException The rods do not attached to any structue.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →