FabricationRodInfo
Description:
The rod information of the fabrication part.
The rod information of the fabrication part.
Remarks:
A fabrication part may have one or more rods. The FabricationRodInfo stores the rod information of the fabrication part.
A fabrication part may have one or more rods. The FabricationRodInfo stores the rod information of the fabrication part.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.FabricationRodInfo
System.Object
Autodesk.Revit.DB.FabricationRodInfo
public class FabricationRodInfo : IDisposable
| Name | Return Type | Description |
|---|---|---|
| AttachToHanger(ElementId, Int32, XYZ) | None | Attaches the hanger rod to another bearer hanger. |
| AttachToStructure() | None | Attaches to the nearest structural element. |
| Dispose() | None | Releases all resources used by the |
| GetBearerExtension(Int32) | double | Gets the bearer extension. The method is applicable only for bearer hanger. |
| GetRodAttachedElementId(Int32) | LinkElementId | Gets the identifier of the attached component for the specified rod. |
| GetRodEndPosition(Int32) | XYZ | Gets the position of the rod end. |
| GetRodLength(Int32) | double | Get the current rod length. If the rod is the length will include structural extension. |
| GetRodStructureExtension(Int32) | double | Gets the length of the rod's top extension into structure. |
| IsRodLockedWithHost(Int32) | bool | Checks if the rod is locked with the host. The method is applicable only for bearer hanger. |
| SetBearerExtension(Int32, Double) | None | Sets the bearer extension. The method is applicable only for bearer hanger. |
| SetRodEndPosition(Int32, XYZ) | None | Sets the position of the rod end. The method is applicable only for bearer hanger. |
| SetRodLength(Int32, Double) | bool | 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. |
| SetRodLockedWithHost(Int32, Boolean) | None | Locks the rod with the host. The method is applicable only for bearer hanger. |
| SetRodStructureExtension(Int32, Double) | bool | Set the length of the rod's top extension into structure. The rod must be attached to structure. |
| Name | Return Type | Description |
|---|---|---|
| CanRodsBeHosted | bool | Controls whether the hanger's rod's will be automatically hosted by other elements. |
| IsAttachedToStructure | bool | Checks if the hanger is attached to structure. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| RodCount | int | Gets the number of rods. |