RebarFreeFormAccessor.GetTerminationPlaneNormalForBarIndex Method

RebarFreeFormAccessorGetTerminationPlaneNormalForBarIndex Method

Gets the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public XYZ GetTerminationPlaneNormalForBarIndex(
	int end,
	int barPositionIndex
)
Public Function GetTerminationPlaneNormalForBarIndex ( 
	end As Integer,
	barPositionIndex As Integer
) As XYZ
public:
XYZ^ GetTerminationPlaneNormalForBarIndex(
	int end, 
	int barPositionIndex
)
member GetTerminationPlaneNormalForBarIndex : 
        end : int * 
        barPositionIndex : int -> XYZ 

Parameters

end  Int32
The end of bar. Should be 0 for start or 1 for end.
barPositionIndex  Int32
An index between 0 and (NumberOfBarPositions-1).

Return Value

XYZ
Returns the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. -or- Invalid end.
Remarks

This method does not take into account the rotation of the bar relative to its default position along the distribution path.

See Also