FabricationRodInfoAttachToHanger Method |
Attaches the hanger rod to another bearer hanger.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void AttachToHanger(
ElementId hangerId,
int rodIndex,
XYZ position
)
Public Sub AttachToHanger (
hangerId As ElementId,
rodIndex As Integer,
position As XYZ
)
public:
void AttachToHanger(
ElementId^ hangerId,
int rodIndex,
XYZ^ position
)
member AttachToHanger :
hangerId : ElementId *
rodIndex : int *
position : XYZ -> unit
Parameters
- hangerId ElementId
-
Identifier of the bearer hanger to which the rod attaches.
- rodIndex Int32
-
The index of the rod.
- position XYZ
-
The position of the rod end. It should be on bearer centerline.
Exceptions
See Also