FlipRebar Method


Rebar Shape Driven Accessor Flip Rebar Method

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

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void FlipRebar()
Exceptions
Exception Condition
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
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →