SetSegmentAs180DegreeBend Method (Int32)


Rebar Shape Definition By Segments Set Segment As 180Degree Bend(Int 32) Method

Indicates that a segment is a "virtual" segment introduced to describe a 180-degree bend. The radius of the bend will be taken from the Bar Type.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetSegmentAs180DegreeBend(
	int iSegment
)

Parameters

iSegment Int32
Index of the segment (0 to NumberOfSegments - 1).
Exceptions
Exception Condition
ArgumentException iSegment is not between 0 and NumberOfSegments.
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 →