FabricationRodInfoSetRodLength Method |
Set the rod length of the hanger for the specified rod index, excluding top extension. The hanger must not be set to be auto-hosted.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool SetRodLength(
int rodIndex,
double newLength
)
Public Function SetRodLength (
rodIndex As Integer,
newLength As Double
) As Boolean
public:
bool SetRodLength(
int rodIndex,
double newLength
)
member SetRodLength :
rodIndex : int *
newLength : float -> bool
Parameters
- rodIndex Int32
-
The rod index.
- newLength Double
-
Return Value
Boolean
Returns true if it was successful otherwise false.
Exceptions
See Also