2026 Method
Changes 0
M

RebarContainerItem.GetCenterlineCurves

Description:
A chain of curves representing the centerline of the rebar.
Remarks:
If the Rebar is a set, meaning GetLayoutRule() does not return Single, this method returns the first rebar in the set, even if the first bar is suppressed by IncludeFirstBar being false.
Overloads (2):
GetCenterlineCurves(Boolean,Boolean,Boolean)
public IList<Curve> GetCenterlineCurves(
	bool adjustForSelfIntersection,
	bool suppressHooks,
	bool suppressBendRadius
)
  • Boolean
    adjustForSelfIntersection
    If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
  • Boolean
    suppressHooks
    Identifies if the chain will include hooks curves.
  • Boolean
    suppressBendRadius
    Identifies if the connected chain will include unfilleted curves.
Return Value IList<Curve> The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.