Indicate that a segment is a "virtual" segment introduced to describe a 180-degree bend. The radius of the bend will be driven by radiusParam.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
public void SetSegmentAs180DegreeBend(
int iSegment,
ElementId paramId,
bool measureToOutsideOfBend
) |
Visual Basic |
---|
Public Sub SetSegmentAs180DegreeBend ( _
iSegment As Integer, _
paramId As ElementId, _
measureToOutsideOfBend As Boolean _
) |
Visual C++ |
---|
public:
void SetSegmentAs180DegreeBend(
int iSegment,
ElementId^ paramId,
bool measureToOutsideOfBend
) |
Parameters
- iSegment
- Type: System..::..Int32
Index of the segment (0 to NumberOfSegments - 1).
- paramId
- Type: Autodesk.Revit.DB..::..ElementId
Id of a parameter to drive the radius.
To obtain the id of a shared parameter,
call RebarShape.GetElementIdForExternalDefinition().
- measureToOutsideOfBend
- Type: System..::..Boolean
Choose between two possibilities for the references of the radius dimension.
If true, measure to the exterior face of the bar. If false, measure to the interior face.
Exceptions
See Also