FlipEnds Method


Flips the ends of the structural framing element.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2015 Subscription Update

Syntax

C#
public static void FlipEnds(
	FamilyInstance familyInstance
)
Visual Basic
Public Shared Sub FlipEnds ( _
	familyInstance As FamilyInstance _
)
Visual C++
public:
static void FlipEnds(
	FamilyInstance^ familyInstance
)

Parameters

familyInstance
Type: Autodesk.Revit.DB FamilyInstance
The FamilyInstance, which must be of a structural framing category, non-concrete.

Remarks

Only ends of non-concrete structural framing element like beam and brace can be flipped and only in case if it is a line, arc or ellipse element.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException The input familyInstance is concrete or is not a line, arc or ellipse element.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions ArgumentsInconsistentException The input familyInstance is not of a structural framing category.

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 →