2027 Method
Changes 7
M

RebarFreeFormAccessor.GetTerminationOrientationAtIndex

Description:
Gets the termination's (e.g. hook, crank ) orientation that is applied to this Rebar at the bar with index barPositionIndex at the specified end.
Remarks:

If this Rebar has Workshop Instructions set to Straight will return the same value for all barPositionIndex between 0 and (NumberOfBarPositions-1). This value will be the same as Rebar.GetTerminationOrientation(int end).

If this Rebar has Workshop Instructions set to Bent there are different cases:

  • All bars are matched exactly with a shape. In this case will return the same value for all barPositionIndex between 0 and (NumberOfBarPositions-1). This value will be the same as Rebar.GetTerminationOrientation(int end).
  • All bars are matched in reversed order with a shape. In this case will return the same value for all barPositionIndex between 0 and (NumberOfBarPositions-1). This value will be the same as Rebar.GetTerminationOrientation(int end).
  • Some bars are matched in reversed order and the others are matched exactly with a shape. In this case for bars that are matched reversed will return the termination's (hook, crank) orientation at the opposite end. For the others bars will return the same as Rebar.GetTerminationOrientation(int end).

public RebarTerminationOrientation GetTerminationOrientationAtIndex(
	int barPositionIndex,
	int end
)
  • Int32
    barPositionIndex
    An index between 0 and (NumberOfBarPositions-1).
  • Int32
    end
    0 for the start termination, 1 for the end termination.
Return Value RebarTerminationOrientation Returns the termination (e.g. hook, crank) orientation at the specified end.