RVTDocs.com

FabricationRodInfo.AttachToHanger

Method
Description:
Attaches the hanger rod to another bearer hanger.
Syntax
public void AttachToHanger(
	ElementId hangerId,
	int rodIndex,
	XYZ position
)
Parameters
Parameter Type Description
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.
Return Value
Exceptions
Exception Condition
ArgumentException The hanger is not a bearer hanger. -or- The point is not on hanger bearer centerline.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException the index rodIndex is should be in range of rod count.