2022 Class Back to 2022
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 (2022).
Identical to 2022: 2020, 2021, 2023, 2024
2022 current

Changes in 2025 vs 2022 1 changed

Flip API Versions →

Changed members

RebarContainerItem.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.

Changes in 2025.3 vs 2022 1 changed

Flip API Versions →

Changed members

RebarContainerItem.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.

Changes in 2026 vs 2022 4 added 5 changed

Flip API Versions →

Added in 2026 (new since 2022)

Changed members

RebarContainerItem.GetHookOrientation(Int32, Int32)
No longer obsolete in 2022 (was obsolete in 2026)
iEnd Int32 0 for the start hook, 1 for the end hook.
end 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)
No longer obsolete in 2022 (was obsolete in 2026)
style RebarStyle The usage of the bar, "standard" or "stirrup/tie".
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
startHook RebarHookType A RebarHookType element that defines the hook for the start of the bar. If this parameter is <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span>, it means to create a rebar with no hook.
endHook RebarHookType A RebarHookType element that defines the hook for the end of the bar. If this parameter is <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span>, it means to create a rebar with no hook.
norm XYZ The normal to the plane that the rebar curves lie on.
curves IList<Curve> An array of curves that define the shape of the rebar curves. They must belong to the plane defined by the normal and origin. Bends and hooks should not be included in the array of curves.
startHookOrient RebarHookOrientation Defines the orientation of the hook plane at the start of the rebar with respect to the orientation of the first curve and the plane normal. 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."
endHookOrient RebarHookOrientation Defines the orientation of the hook plane at the end of the rebar with respect to the orientation of the last curve and the plane normal. 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."
useExistingShapeIfPossible Boolean Attempts to assign a RebarShape from those existing in the document. If no shape matches, NewRebar returns or creates a new shape, according to the parameter createNewShape. When both parameters are "true", the behavior is the same as sketching rebar in the UI. At least one of these parameters must be "true". If the RebarShapeDefinesHooks flag in ReinforcementSettings has been set to false, and a RebarShape cannot be found with both matching curves and hooks, then this method will perform a second search, ignoring hook information.
createNewShape Boolean Creates a shape in the document to match the curves, hooks, and style specified, and assigns it to the new rebar instance. Shape creation will not succeed unless one or more other shapes already exist in the document, and these shapes have enough shape parameters to define a shape for these curves.
RebarContainerItem.SetFromCurvesAndShape(RebarShape, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
No longer obsolete in 2022 (was obsolete in 2026)
rebarShape RebarShape A RebarShape element that defines the shape of the rebar. A RebarShape element matches curves and hooks. A RebarShape element provides RebarStyle of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
startHook RebarHookType A RebarHookType element that defines the hook for the start of the bar. If this parameter is <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span>, it means to create a rebar with no hook.
endHook RebarHookType A RebarHookType element that defines the hook for the end of the bar. If this parameter is <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span>, it means to create a rebar with no hook.
norm XYZ The normal to the plane that the rebar curves lie on.
curves IList<Curve> An array of curves that define the shape of the rebar curves. They must belong to the plane defined by the normal and origin. Bends and hooks should not be included in the array of curves.
startHookOrient RebarHookOrientation Defines the orientation of the hook plane at the start of the rebar with respect to the orientation of the first curve and the plane normal. 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."
endHookOrient RebarHookOrientation Defines the orientation of the hook plane at the end of the rebar with respect to the orientation of the last curve and the plane normal. 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."
RebarContainerItem.SetHookOrientation(Int32, RebarHookOrientation, Int32)
No longer obsolete in 2022 (was obsolete in 2026)
iEnd 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."
end Int32 0 for the start hook, 1 for the end hook.