Sets the position of the rod end. The method is applicable only for bearer hanger.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public void SetRodEndPosition( int rodIndex, XYZ position )
Parameters
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Invalid rod position. |
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | the index rodIndex is should be in range of rod count. |
| InvalidOperationException | The hanger is not a bearer hanger. |
