FabricationRodInfo
The rod information of the fabrication part.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.FabricationRodInfo
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FabricationRodInfo : IDisposableThe FabricationRodInfo type exposes the following members.
Properties
Name
Description
Public Property
CanRodsBeHosted
Controls whether the hanger’s rod’s will be automatically hosted by other elements.
Public Property
IsAttachedToStructure
Checks if the hanger is attached to structure.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
RodCount
Gets the number of rods.
Methods
Name
Description
Public Method
AttachToHanger
Attaches the hanger rod to another bearer hanger.
Public Method
AttachToStructure
Attaches to the nearest structural element.
Public Method
Dispose
Releases all resources used by the FabricationRodInfo
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetBearerExtension
Gets the bearer extension. The method is applicable only for bearer hanger.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetRodAttachedElementId
Gets the identifier of the attached component for the specified rod.
Public Method
GetRodEndPosition
Gets the position of the rod end.
Public Method
GetRodLength
Get the current rod length. If the rod is the length will include structural extension.
Public Method
GetRodStructureExtension
Gets the length of the rod’s top extension into structure.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsRodLockedWithHost
Checks if the rod is locked with the host. The method is applicable only for bearer hanger.
Public Method
SetBearerExtension
Sets the bearer extension. The method is applicable only for bearer hanger.
Public Method
SetRodEndPosition
Sets the position of the rod end. The method is applicable only for bearer hanger.
Public Method
SetRodLength
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.
Public Method
SetRodLockedWithHost
Locks the rod with the host. The method is applicable only for bearer hanger.
Public Method
SetRodStructureExtension
Set the length of the rod’s top extension into structure. The rod must be attached to structure.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
A fabrication part may have one or more rods. The FabricationRodInfo stores the rod information of the fabrication part.