A chain of curves representing the centerline of the rebar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:
2013
Syntax
| C# |
|---|
[ObsoleteAttribute("The GetCenterlineCurves(bool, bool, bool) function became obsolete for Revit 2017. Please use the overloaded GetCenterlineCurves(bool, bool, bool, MultiplanarOption.Enum, int) function instead. The last input argument (int barPositionIndex) should typically be 0 to match the previous behavior of this function.")]
public IList<Curve> GetCenterlineCurves(
bool adjustForSelfIntersection,
bool suppressHooks,
bool suppressBendRadius
) |
| Visual Basic |
|---|
<ObsoleteAttribute("The GetCenterlineCurves(bool, bool, bool) function became obsolete for Revit 2017. Please use the overloaded GetCenterlineCurves(bool, bool, bool, MultiplanarOption.Enum, int) function instead. The last input argument (int barPositionIndex) should typically be 0 to match the previous behavior of this function.")> _
Public Function GetCenterlineCurves ( _
adjustForSelfIntersection As Boolean, _
suppressHooks As Boolean, _
suppressBendRadius As Boolean _
) As IList(Of Curve) |
| Visual C++ |
|---|
[ObsoleteAttribute(L"The GetCenterlineCurves(bool, bool, bool) function became obsolete for Revit 2017. Please use the overloaded GetCenterlineCurves(bool, bool, bool, MultiplanarOption.Enum, int) function instead. The last input argument (int barPositionIndex) should typically be 0 to match the previous behavior of this function.")]
public:
IList<Curve^>^ GetCenterlineCurves(
bool adjustForSelfIntersection,
bool suppressHooks,
bool suppressBendRadius
) |
Parameters
- adjustForSelfIntersection
- Type: System..::..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
- Type: System..::..Boolean
Identifies if the chain will include hooks curves.
- suppressBendRadius
- Type: System..::..Boolean
Identifies if the connected chain will include unfilleted curves.
Return Value
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.
Remarks
See Also