<Code Lib>
2023 Method
Changes 0
M

RebarShapeDefinitionBySegments.SetSegmentAs180DegreeBend(Int32, ElementId, Boolean)

Description:
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.
Overloads (2):
SetSegmentAs180DegreeBend(Int32,ElementId,Boolean)

public void SetSegmentAs180DegreeBend(
	int iSegment,
	ElementId paramId,
	bool measureToOutsideOfBend
)

  • Int32
    iSegment
    Index of the segment (0 to NumberOfSegments - 1).
  • paramId
    Id of a parameter to drive the radius. To obtain the id of a shared parameter, call RebarShape.GetElementIdForExternalDefinition().
  • Boolean
    measureToOutsideOfBend
    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.

Loading…