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 (2025.3).
Identical to 2025.3: 2025
2025.3 current

Changes in 2020 vs 2025.3 2 added 21 missing 6 changed

Flip API Versions →

Added in 2020 (new since 2025.3)

Missing in 2020 (only available in 2025.3)

Changed members

Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
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)
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.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.DistributionType()
Became obsolete in 2025.3: <p> This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The property Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor.UseRebarConstraintsToProduceVaryingBars can be used instead. </p> <p>To check if the set can have (but not necessary have) varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.CanHaveVaryingLengthBars. To check if the set has varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.HasVaryingLengthBars.</p>
→ returns DistributionType

Changes in 2021 vs 2025.3 2 added 12 missing 8 changed

Flip API Versions →

Added in 2021 (new since 2025.3)

Missing in 2021 (only available in 2025.3)

Changed members

Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
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)
doc Document
style RebarStyle
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
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)
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
→ 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.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.DistributionType()
Became obsolete in 2025.3: <p> This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The property Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor.UseRebarConstraintsToProduceVaryingBars can be used instead. </p> <p>To check if the set can have (but not necessary have) varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.CanHaveVaryingLengthBars. To check if the set has varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.HasVaryingLengthBars.</p>
→ returns DistributionType

Changes in 2022 vs 2025.3 2 added 6 missing 8 changed

Flip API Versions →

Added in 2022 (new since 2025.3)

Missing in 2022 (only available in 2025.3)

Changed members

Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
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)
doc Document
style RebarStyle
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
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)
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
→ 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.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.DistributionType()
Became obsolete in 2025.3: <p> This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The property Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor.UseRebarConstraintsToProduceVaryingBars can be used instead. </p> <p>To check if the set can have (but not necessary have) varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.CanHaveVaryingLengthBars. To check if the set has varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.HasVaryingLengthBars.</p>
→ returns DistributionType

Changes in 2023 vs 2025.3 2 added 6 missing 8 changed

Flip API Versions →

Added in 2023 (new since 2025.3)

Missing in 2023 (only available in 2025.3)

Changed members

Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
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)
doc Document
style RebarStyle
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
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)
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
→ 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.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.DistributionType()
Became obsolete in 2025.3: <p> This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The property Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor.UseRebarConstraintsToProduceVaryingBars can be used instead. </p> <p>To check if the set can have (but not necessary have) varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.CanHaveVaryingLengthBars. To check if the set has varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.HasVaryingLengthBars.</p>
→ returns DistributionType

Changes in 2024 vs 2025.3 6 missing 8 changed

Flip API Versions →

Missing in 2024 (only available in 2025.3)

Changed members

Rebar.CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
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)
doc Document
style RebarStyle
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
useExistingShapeIfPossible Boolean
createNewShape Boolean
→ returns nullNothingnullptrRebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
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)
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
→ 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.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.DistributionType()
Became obsolete in 2025.3: <p> This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The property Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor.UseRebarConstraintsToProduceVaryingBars can be used instead. </p> <p>To check if the set can have (but not necessary have) varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.CanHaveVaryingLengthBars. To check if the set has varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.HasVaryingLengthBars.</p>
→ returns DistributionType

Changes in 2026 vs 2025.3 25 added 1 missing 15 changed

Flip API Versions →

Added in 2026 (new since 2025.3)

Missing in 2026 (only available in 2025.3)

Changed members

Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
No longer obsolete in 2025.3 (was obsolete in 2026)
doc Document
barType RebarBarType
host Element
curves IList<CurveLoop>
error RebarFreeFormValidationResult%
→ returns Rebar Rebar
Rebar.CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
No longer obsolete in 2025.3 (was obsolete in 2026)
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)
No longer obsolete in 2025.3 (was obsolete in 2026)
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)
No longer obsolete in 2025.3 (was obsolete in 2026)
doc Document
style RebarStyle
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
useExistingShapeIfPossible Boolean
createNewShape Boolean
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
→ returns Rebar Rebar
Rebar.CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
No longer obsolete in 2025.3 (was obsolete in 2026)
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)
No longer obsolete in 2025.3 (was obsolete in 2026)
doc Document
rebarShape RebarShape
barType RebarBarType
startHook RebarHookType
endHook RebarHookType
host Element
norm XYZ
curves IList<Curve>
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd 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).
suppressHooks Boolean Identifies if the chain will include hooks 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.
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank 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)
No longer obsolete in 2025.3 (was obsolete in 2026)
iEnd Int32 0 for the start hook, 1 for the end hook.
end Int32 0 for the start termination, 1 for the end termination.
→ returns RebarHookOrientation Value = Right: The hook is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." Value = Left: The hook is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."
Rebar.GetHookRotationAngle(Int32, Int32)
No longer obsolete in 2025.3 (was obsolete in 2026)
iEnd Int32 0 for the start , 1 for the end.
end Int32 0 for the start, 1 for the end.
→ returns Double Returns the out of plane hook rotation angle at the specified end.
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).
suppressHooks Boolean Identifies if the chain will include hooks 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.
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank 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)
iEnd Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
end 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)
No longer obsolete in 2025.3 (was obsolete in 2026)
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)
No longer obsolete in 2025.3 (was obsolete in 2026)
rebarShape RebarShape
barType RebarBarType
norm XYZ
curves IList<Curve>
startHook RebarHookType
endHook RebarHookType
startHookOrient RebarHookOrientation
endHookOrient RebarHookOrientation
hookRotationAngleAtStart Double
hookRotationAngleAtEnd Double
endTreatmentTypeIdAtStart ElementId
endTreatmentTypeIdAtEnd ElementId
terminationRotationAngleAtStart Double
terminationRotationAngleAtEnd Double
→ returns Boolean Boolean
Rebar.SetHookOrientation(Int32, RebarHookOrientation, Int32, RebarHookOrientation)
No longer obsolete in 2025.3 (was obsolete in 2026)
iEnd Int32 0 for the start hook, 1 for the end hook.
hookOrientation RebarHookOrientation Only two values are permitted: Value = Right: The hook is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up." Value = Left: The hook is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."
end Int32 0 for the start 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."
Rebar.SetHookRotationAngle(Double, Int32, Double, Int32)
No longer obsolete in 2025.3 (was obsolete in 2026)
hookRotationAngle Double The out of plane hook rotation angle at the specified end.
iEnd Int32 0 for the start , 1 for the end.
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.

Changes in 2027 vs 2025.3 37 added 13 missing 3 changed

Flip API Versions →

Added in 2027 (new since 2025.3)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) 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) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLayoutFormula(Boolean) GetOverridableCrankParameters GetSpacingsBetweenBars GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid Mass

Missing in 2027 (only available in 2025.3)

Changed members

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).
suppressHooks Boolean Identifies if the chain will include hooks 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.
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank 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.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).
suppressHooks Boolean Identifies if the chain will include hooks 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.
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank 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)
iEnd Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
end 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.