CreateFromCurves
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2026).
Not present in: 2020, 2027
2026
current
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean, Double, Double)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.
| doc | Document | |
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| host | Element | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| terminationRotationAngleAtStart | Double | |
| terminationRotationAngleAtEnd | Double | |
| endTreatmentTypeIdAtStart | ElementId | |
| endTreatmentTypeIdAtEnd | ElementId | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean | |
| hookRotationAngleAtStart | Double | The out of plane hook rotation angle at the start of the bar. |
| hookRotationAngleAtEnd | Double | The out of plane hook rotation angle at the end of the bar. |
| → returns | nullNothingnullptr→Rebar | Rebar |
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean, Double, Double)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.
| doc | Document | |
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| host | Element | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| terminationRotationAngleAtStart | Double | |
| terminationRotationAngleAtEnd | Double | |
| endTreatmentTypeIdAtStart | ElementId | |
| endTreatmentTypeIdAtEnd | ElementId | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean | |
| hookRotationAngleAtStart | Double | The out of plane hook rotation angle at the start of the bar. |
| hookRotationAngleAtEnd | Double | The out of plane hook rotation angle at the end of the bar. |
| → returns | nullNothingnullptr→Rebar | Rebar |
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean, Double, Double)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.
| doc | Document | |
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| host | Element | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| terminationRotationAngleAtStart | Double | |
| terminationRotationAngleAtEnd | Double | |
| endTreatmentTypeIdAtStart | ElementId | |
| endTreatmentTypeIdAtEnd | ElementId | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean | |
| hookRotationAngleAtStart | Double | The out of plane hook rotation angle at the start of the bar. |
| hookRotationAngleAtEnd | Double | The out of plane hook rotation angle at the end of the bar. |
| → returns | nullNothingnullptr→Rebar | Rebar |
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean, Double, Double)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.
| doc | Document | |
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| host | Element | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| terminationRotationAngleAtStart | Double | |
| terminationRotationAngleAtEnd | Double | |
| endTreatmentTypeIdAtStart | ElementId | |
| endTreatmentTypeIdAtEnd | ElementId | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean | |
| hookRotationAngleAtStart | Double | The out of plane hook rotation angle at the start of the bar. |
| hookRotationAngleAtEnd | Double | The out of plane hook rotation angle at the end of the bar. |
| → returns | nullNothingnullptr→Rebar | Rebar |
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean, Double, Double)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.
| doc | Document | |
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| host | Element | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| terminationRotationAngleAtStart | Double | |
| terminationRotationAngleAtEnd | Double | |
| endTreatmentTypeIdAtStart | ElementId | |
| endTreatmentTypeIdAtEnd | ElementId | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean | |
| hookRotationAngleAtStart | Double | The out of plane hook rotation angle at the start of the bar. |
| hookRotationAngleAtEnd | Double | The out of plane hook rotation angle at the end of the bar. |
| → returns | Rebar | Rebar |
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean, Double, Double)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFromCurves(Document doc, RebarStyle style, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData, bool useExistingShapeIfPossible, bool createNewShape) instead.
| doc | Document | |
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| host | Element | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| terminationRotationAngleAtStart | Double | |
| terminationRotationAngleAtEnd | Double | |
| endTreatmentTypeIdAtStart | ElementId | |
| endTreatmentTypeIdAtEnd | ElementId | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean | |
| hookRotationAngleAtStart | Double | |
| hookRotationAngleAtEnd | Double | |
| → returns | Rebar | Rebar |