2026 Class Back to 2026
C

RebarContainerItem

Version comparison

Members across versions

55 members across 9 versions · 4 added later · 4 removed · 5 changed · 4 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
same same same same same same same same same
M CanUseHookType(ElementId)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
M GetCenterlineCurves(Boolean, Boolean, Boolean)
same same same same same same same same same
M GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption)
same same same same same same same same same
same same same same same same same same same
same same same same same same same changed missing
M GetHookTypeId(Int32)
same same same same same same same same same
same same same same same changed same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
same same same same same same same same same
M IsBarHidden(View, Int32)
same same same same same same same same same
same same same same same same same same same
M SetBarHiddenStatus(View, Int32, Boolean)
same same same same same same same same same
M SetFromCurves(RebarStyle, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
same same same same same same same changed missing
M SetFromCurves(RebarStyle, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarTerminationOrientation, RebarTerminationOrientation, Boolean, Boolean)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetFromCurvesAndShape(RebarShape, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
same same same same same same same changed missing
M SetFromCurvesAndShape(RebarShape, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarTerminationOrientation, RebarTerminationOrientation)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetFromRebar(Rebar)
same same same same same same same same same
M SetFromRebarShape(RebarShape, RebarBarType, XYZ, XYZ, XYZ)
same same same same same same same same same
M SetHookOrientation(Int32, RebarHookOrientation)
same same same same same same same changed missing
M SetHookTypeId(Int32, ElementId)
same same same same same same same same same
M SetLayoutAsFixedNumber(Int32, Double, Boolean, Boolean, Boolean)
same same same same same same same same same
M SetLayoutAsMaximumSpacing(Double, Double, Boolean, Boolean, Boolean)
same same same same same same same same same
M SetLayoutAsMinimumClearSpacing(Double, Double, Boolean, Boolean, Boolean)
same same same same same same same same same
M SetLayoutAsNumberWithSpacing(Int32, Double, Boolean, Boolean, Boolean)
same same same same same same same same same
same same same same same same same same same
M SetPresentationMode(View, RebarPresentationMode)
same same same same same same same same same
M SetTerminationOrientation(Int32, RebarTerminationOrientation)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
P Height
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
P Normal
same same same same same same same same same
same same same same same same same same same
P Pitch
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
P Volume
same same same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2026).
2026 current

Changes in 2020 vs 2026 4 missing 5 changed

Flip API Versions →

Missing in 2020 (only available in 2026)

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.

Changes in 2021 vs 2026 4 missing 5 changed

Flip API Versions →

Missing in 2021 (only available in 2026)

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.

Changes in 2022 vs 2026 4 missing 5 changed

Flip API Versions →

Missing in 2022 (only available in 2026)

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.

Changes in 2023 vs 2026 4 missing 5 changed

Flip API Versions →

Missing in 2023 (only available in 2026)

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.

Changes in 2024 vs 2026 4 missing 5 changed

Flip API Versions →

Missing in 2024 (only available in 2026)

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.

Changes in 2025 vs 2026 4 missing 4 changed

Flip API Versions →

Missing in 2025 (only available in 2026)

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.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.

Changes in 2025.3 vs 2026 4 missing 4 changed

Flip API Versions →

Missing in 2025.3 (only available in 2026)

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.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.