2023 Method Back to 2023
M

GetCenterlineCurves

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2023).
Identical to 2023: 2020, 2021, 2022, 2024, 2025, 2025.3
2023 current
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean 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).
suppressHooks Boolean Identifies if the chain will include hooks curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. Use GetDistributionType() to probe if the bars in a specific rebar have a varying shape. If so, you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index. When the distribution type of a rebar set is uniform, the form of the bars does not vary from one index to another.
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
→ returns IList 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.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean 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).
suppressHooks Boolean Identifies if the chain will include hooks curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. Use GetDistributionType() to probe if the bars in a specific rebar have a varying shape. If so, you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index. When the distribution type of a rebar set is uniform, the form of the bars does not vary from one index to another.
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
→ returns IList 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.