Share

RebarShapeDrivenAccessor.FlipRebar Method

Flips the rebar by flipping the ends and the bar segments.


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

Syntax

C#

public void FlipRebar()

Exceptions

ExceptionCondition
InvalidOperationException This RebarShapeDrivenAccessor doesn't contain a valid rebar reference. -or- This RebarShapeDrivenAccessor is an instance of a spiral shape.

Remarks

This method flips the curve loop of the rebar, changing start with end, and segment i with segment n - i - 1 (with i from 0 up to n - 1). This method is not applicable for a spiral shaped rebar.

See Also

Reference

Was this information helpful?