Changes in 2020 vs 2026 4 missing 5 changed
Flip API Versions →Missing in 2020 (only available in 2026)
GetTerminationOrientation(Int32)
SetFromCurves(RebarStyle, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarTerminationOrientation, RebarTerminationOrientation, Boolean, Boolean)
SetFromCurvesAndShape(RebarShape, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarTerminationOrientation, RebarTerminationOrientation)
SetTerminationOrientation(Int32, RebarTerminationOrientation)
Changed members
RebarContainerItem.GetHookOrientation(Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarContainerItem.GetTerminationOrientation(int end) instead.
| end | Int32 | 0 for the start hook, 1 for the end hook. |
| iEnd | Int32 | 0 for the start hook, 1 for the end hook. |
| → returns | RebarHookOrientation | Value = Right: The hook is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." Value = Left: The hook is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." |
RebarContainerItem.GetPresentationMode(View)
| dBView | View | The view. |
| → returns | RebarPresentationMode | The presentation mode. |
RebarContainerItem.SetFromCurves(RebarStyle, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarContainerItem.SetFromCurves(RebarStyle style, RebarBarType barType, RebarHookType startHook, RebarHookType endHook, XYZ norm, IList<Curve> curves, RebarTerminationOrientation startHookOrient, RebarTerminationOrientation endHookOrient, bool useExistingShapeIfPossible, bool createNewShape) instead.
| style | RebarStyle | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation | |
| useExistingShapeIfPossible | Boolean | |
| createNewShape | Boolean |
RebarContainerItem.SetFromCurvesAndShape(RebarShape, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarContainerItem.SetFromCurvesAndShape(RebarShape rebarShape, RebarBarType barType, RebarHookType startHook, RebarHookType endHook, XYZ norm, IList<Curve> curves, RebarTerminationOrientation startHookOrient, RebarTerminationOrientation endHookOrient) instead.
| rebarShape | RebarShape | |
| barType | RebarBarType | |
| startHook | RebarHookType | |
| endHook | RebarHookType | |
| norm | XYZ | |
| curves | IList<Curve> | |
| startHookOrient | RebarHookOrientation | |
| endHookOrient | RebarHookOrientation |
RebarContainerItem.SetHookOrientation(Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarContainerItem.SetTerminationOrientation(int end, RebarTerminationOrientation hookOrientation) instead.
| end | Int32 | 0 for the start hook, 1 for the end hook. |
| hookOrientation | RebarHookOrientation | Only two values are permitted: Value = Right: The hook is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." Value = Left: The hook is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." |
| iEnd | Int32 | 0 for the start hook, 1 for the end hook. |