Gets the identifier of the attached component for the specified rod.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public LinkElementId GetRodAttachedElementId( int rodIndex )
Parameters
- rodIndex Int32
- The index of the specified rod.
Return Value
LinkElementIdExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | the index rodIndex is should be in range of rod count. |
InvalidOperationException | The rods do not attached to any structue. |