C

Rebar

Version comparison

Members across versions

116 members across 9 versions · 58 added later · 15 removed · 21 changed · 15 obsolete

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

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>)
not yet introduced 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
M CanElementBeSplit(Document, ElementId)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M CanSuppressFirstOrLastBar(View, Int32)
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
M ComputeSpacingsBetweenBars(Document, String, Double)
not yet introduced 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
M ContainsValidArcRadiiForStyleAndBarType(IList<Curve>, RebarStyle, RebarBarType)
same same same same same same same same same
M CreateFreeForm(Document, Guid, RebarBarType, Element)
same same same same same same same same same
M CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
same same same same same same same changed missing
M CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
same same same same same same same changed missing
M CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
same same same same same changed same changed missing
M CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean)
not yet introduced added same same same changed same changed missing
M CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, 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 CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
same same same same same changed same changed missing
M CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId)
not yet introduced added same same same changed same changed missing
M CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
same same same same same changed same same same
same same same same same same 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
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
not yet introduced not yet introduced added same same same same same same
same same same same same same same same same
M GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32)
same same same same same same same changed same
M GetCouplerId(Int32)
same same same same same same 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
M GetCrankLength(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetCrankRatio(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetCrankTypeId(Int32)
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 changed missing
not yet introduced added same same same same same changed missing
M GetHookTypeId(Int32)
same same same same same same same same same
same same same same same same same same same
M GetLapLength(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M GetLayoutFormula(Boolean)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced added same same same 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
M GetOverridableHookParameters(ISet<ElementId>, ISet<ElementId>, ISet<ElementId>, ISet<ElementId>)
not yet introduced added same same same same same same same
M GetParameterValueAtIndex(ElementId, Int32)
same same same same same same same same same
same same same same same changed same same same
same same same same same same same same same
M GetRebarSplice(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
same same same same same changed same same same
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added 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
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32)
not yet introduced not yet introduced added same same same same changed same
same same same same same same same same same
same same same same same same same changed same
M IsBarHidden(View, Int32)
same same same same same same 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
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
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
M IsSolidInView(View3D)
same same same changed missing missing missing missing missing
same same same same same same same same same
M IsValidCustomSpacingFormula(Document, String)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M MoveBarInSet(Int32, Transform)
not yet introduced not yet introduced added same same same same same same
M RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation)
same same same same same same same changed missing
M RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId)
not yet introduced added same same same same same changed missing
M RemoveSplice(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
not yet introduced not yet introduced added same same same same same same
M SetBarHiddenStatus(View, Int32, Boolean)
same same same same same same same same same
M SetBarIncluded(Boolean, Int32)
not yet introduced not yet introduced added same same same same same same
M SetCrankAngledLengthOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankLengthOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankOffsetLengthOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankRatioOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankTypeId(Int32, ElementId)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetEndTreatmentTypeId(Int32, ElementId)
not yet introduced added same same same same same same same
M SetHookOrientation(Int32, RebarHookOrientation)
same same same same same same same changed missing
M SetHookRotationAngle(Double, Int32)
not yet introduced added same same same same same changed missing
M SetHookTypeId(Int32, ElementId)
same same same same same same same same same
M SetHostId(Document, ElementId)
same same same same same same same same same
M SetLayoutFormula(String)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M SetPresentationMode(View, RebarPresentationMode)
same same same same same same same same same
M SetSolidInView(View3D, Boolean)
same same same changed missing missing missing missing missing
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
M SetTerminationRotationAngle(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetUnobscuredInView(View, Boolean)
same same same same same same same same same
M SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
same same same same same changed same missing missing
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
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
P Mass
not yet introduced 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 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 3 added 46 missing 12 changed

Flip API Versions →

Added in 2020 (new since 2026)

Missing in 2020 (only available in 2026)

CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) EnableHookLengthOverride(Boolean) GetBarIndexFromReference(Reference) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetHookRotationAngle(Int32) GetLapLength(Int32) GetMovedBarTransform(Int32) GetOverridableCrankParameters GetOverridableHookParameters(ISet<ElementId>, ISet<ElementId>, ISet<ElementId>, ISet<ElementId>) GetRebarSplice(Int32) GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32) IsCrankLengthOverrideEnabled IsHookLengthOverrideEnabled MoveBarInSet(Int32, Transform) RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) RemoveSplice(Int32) ResetMovedBarTransform(Int32) SetBarIncluded(Boolean, Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetEndTreatmentTypeId(Int32, ElementId) SetHookRotationAngle(Double, Int32) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) CanHaveVaryingLengthBars FreeFormAlignedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."

Changes in 2021 vs 2026 3 added 37 missing 17 changed

Flip API Versions →

Added in 2021 (new since 2026)

Missing in 2021 (only available in 2026)

CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetBarIndexFromReference(Reference) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLapLength(Int32) GetMovedBarTransform(Int32) GetOverridableCrankParameters GetRebarSplice(Int32) GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32) IsCrankLengthOverrideEnabled MoveBarInSet(Int32, Transform) RemoveSplice(Int32) ResetMovedBarTransform(Int32) SetBarIncluded(Boolean, Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) CanHaveVaryingLengthBars FreeFormAlignedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar 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 nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
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
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 nullNothingnullptrRebar Rebar
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetHookRotationAngle(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 Rebar.GetTerminationRotationAngle instead.
end Int32 0 for the start, 1 for the end.
iEnd Int32 0 for the start , 1 for the end.
→ returns Double Returns the termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
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 Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.
rotationAngle Double The termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
end Int32 0 for the start, 1 for the end.
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.

Changes in 2022 vs 2026 3 added 31 missing 18 changed

Flip API Versions →

Added in 2022 (new since 2026)

Missing in 2022 (only available in 2026)

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar 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 nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
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
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 nullNothingnullptrRebar Rebar
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetHookRotationAngle(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 Rebar.GetTerminationRotationAngle instead.
end Int32 0 for the start, 1 for the end.
iEnd Int32 0 for the start , 1 for the end.
→ returns Double Returns the termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
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 Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.
rotationAngle Double The termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
end Int32 0 for the start, 1 for the end.
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.

Changes in 2023 vs 2026 3 added 31 missing 18 changed

Flip API Versions →

Added in 2023 (new since 2026)

Missing in 2023 (only available in 2026)

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar 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 nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
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
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 nullNothingnullptrRebar Rebar
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetHookRotationAngle(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 Rebar.GetTerminationRotationAngle instead.
end Int32 0 for the start, 1 for the end.
iEnd Int32 0 for the start , 1 for the end.
→ returns Double Returns the termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
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 Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.
rotationAngle Double The termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
end Int32 0 for the start, 1 for the end.
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.

Changes in 2024 vs 2026 1 added 31 missing 18 changed

Flip API Versions →

Added in 2024 (new since 2026)

Missing in 2024 (only available in 2026)

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar 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 nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
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
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 nullNothingnullptrRebar Rebar
Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetHookRotationAngle(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 Rebar.GetTerminationRotationAngle instead.
end Int32 0 for the start, 1 for the end.
iEnd Int32 0 for the start , 1 for the end.
→ returns Double Returns the termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
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 Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.
rotationAngle Double The termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
end Int32 0 for the start, 1 for the end.
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.

Changes in 2025 vs 2026 1 added 25 missing 15 changed

Flip API Versions →

Added in 2025 (new since 2026)

Missing in 2025 (only available in 2026)

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ 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 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.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Rebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
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
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.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetHookRotationAngle(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 Rebar.GetTerminationRotationAngle instead.
end Int32 0 for the start, 1 for the end.
iEnd Int32 0 for the start , 1 for the end.
→ returns Double Returns the termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
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 Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.
rotationAngle Double The termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
end Int32 0 for the start, 1 for the end.
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.

Changes in 2025.3 vs 2026 1 added 25 missing 15 changed

Flip API Versions →

Added in 2025.3 (new since 2026)

Missing in 2025.3 (only available in 2026)

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(CurveLoop) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.CreateFreeForm(Document doc, RebarBarType barType, Element host, IList(IList(Curve)) curves, RebarStyle style) instead.
doc Document
barType RebarBarType
host Element
curves IList<IList<Curve>>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, 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 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
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ 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
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, 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 Rebar.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Rebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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.CreateFromCurvesAndShape(Document doc, RebarShape rebarShape, RebarBarType barType, Element host, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
doc Document
rebarShape RebarShape
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
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
→ returns Rebar Rebar
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.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 Rebar.GetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns RebarHookOrientation Value = Right: The termination 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 termination 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."
Rebar.GetHookRotationAngle(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 Rebar.GetTerminationRotationAngle instead.
end Int32 0 for the start, 1 for the end.
iEnd Int32 0 for the start , 1 for the end.
→ returns Double Returns the termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection 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).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList 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.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.
Rebar.RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
→ returns Boolean Boolean
Rebar.RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, 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 RebarShape.RebarShapeMatchesCurvesAndTerminationsData(RebarShape rebarShape, RebarBarType barType, XYZ norm, IList<Curve> curves, BarTerminationsData barTerminationsData) instead.
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
→ returns Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationOrientation instead.
end Int32 0 for the start termination, 1 for the end termination.
terminationOrientation RebarHookOrientation Only two values are permitted: Value = Right: The termination 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 termination 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.
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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.
rotationAngle Double The termination's out of plane rotation angle at the specified end. The rotation angle it's the same for both hook and crank.
end Int32 0 for the start, 1 for the end.
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.

Changes in 2027 vs 2026 12 added 12 missing

Flip API Versions →

Added in 2027 (new since 2026)

Missing in 2027 (only available in 2026)