RebarFreeFormAccessor.IsBarMatchedWithShapeInReverseOrder Method

Checks if the bar at index barPositionIndex it's matched in reversed order with its shape.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public bool IsBarMatchedWithShapeInReverseOrder(
	int barPositionIndex
)

Parameters

barPositionIndex  Int32
An index between 0 and (NumberOfBarPositions-1).

Return Value

Boolean
Returns true if the bar is matched in reversed order with its shape, false otherwise.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ].

Remarks

If this Rebar has Workshop Instructions set to Straight will return false for all barPositionIndex between 0 and (NumberOfBarPositions-1).

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

See Also

Reference

RebarFreeFormAccessor Class
Autodesk.Revit.DB.Structure Namespace