C

RebarShape

Version comparison

Members across versions

25 members across 9 versions · 7 added later · 9 removed · 9 changed · 9 obsolete

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

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
same same same same same same same changed missing
M Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, Double, Double, ElementId, ElementId)
not yet introduced added same same same same same changed missing
M Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarShapeTerminationsData)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetAllowed(RebarBarType)
same 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
same same same same same same same changed missing
same same same same same same same changed missing
not yet introduced added same same same same same changed missing
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 added same
same same same same same same same same same
M IsSameShapeIgnoringHooks(RebarShape)
same same same same same same same changed missing
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M RebarShapeMatchesCurvesAndTerminationsData(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarShapeTerminationsData)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetAllowed(RebarBarType, Boolean)
same same same same same same same same same
M SetEndTreatmentTypeId(ElementId, Int32)
same changed same same same same same changed missing
M SetHookRotationAngle(Double, Int32)
not yet introduced added same same same same same changed missing
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
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 7 missing 6 changed

Flip API Versions →

Missing in 2020 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, ElementId, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
treatmenetId ElementId
iEnd Int32

Changes in 2021 vs 2026 4 missing 9 changed

Flip API Versions →

Missing in 2021 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, 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.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD9D6FBE5_1"></span></span>, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
terminationRotationAngleAtStart Double The termination's (e.g hook) out of plane rotation angle at the start of the bar.
terminationRotationAngleAtEnd Double The termination's (e.g hook) out of plane rotation angle at the end of the bar.
endTreatmentTypeIdAtStart ElementId The end treatment type id at the start of the bar.
endTreatmentTypeIdAtEnd ElementId The end treatment type id at the end of the bar.
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 RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.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 RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd 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 (e.g hook, crank) out of plane rotation angle at the specified end. The angle is used for both hook and crank.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
RebarShape.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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
rotationAngle Double The out of plane rotation angle at the specified end. The angle will be used 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 4 missing 9 changed

Flip API Versions →

Missing in 2022 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, 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.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD9D6FBE5_1"></span></span>, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
terminationRotationAngleAtStart Double The termination's (e.g hook) out of plane rotation angle at the start of the bar.
terminationRotationAngleAtEnd Double The termination's (e.g hook) out of plane rotation angle at the end of the bar.
endTreatmentTypeIdAtStart ElementId The end treatment type id at the start of the bar.
endTreatmentTypeIdAtEnd ElementId The end treatment type id at the end of the bar.
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 RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.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 RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd 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 (e.g hook, crank) out of plane rotation angle at the specified end. The angle is used for both hook and crank.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
RebarShape.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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
rotationAngle Double The out of plane rotation angle at the specified end. The angle will be used 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 4 missing 9 changed

Flip API Versions →

Missing in 2023 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, 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.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD9D6FBE5_1"></span></span>, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
terminationRotationAngleAtStart Double The termination's (e.g hook) out of plane rotation angle at the start of the bar.
terminationRotationAngleAtEnd Double The termination's (e.g hook) out of plane rotation angle at the end of the bar.
endTreatmentTypeIdAtStart ElementId The end treatment type id at the start of the bar.
endTreatmentTypeIdAtEnd ElementId The end treatment type id at the end of the bar.
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 RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.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 RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd 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 (e.g hook, crank) out of plane rotation angle at the specified end. The angle is used for both hook and crank.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
RebarShape.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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
rotationAngle Double The out of plane rotation angle at the specified end. The angle will be used 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 4 missing 9 changed

Flip API Versions →

Missing in 2024 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, 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.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD9D6FBE5_1"></span></span>, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
terminationRotationAngleAtStart Double The termination's (e.g hook) out of plane rotation angle at the start of the bar.
terminationRotationAngleAtEnd Double The termination's (e.g hook) out of plane rotation angle at the end of the bar.
endTreatmentTypeIdAtStart ElementId The end treatment type id at the start of the bar.
endTreatmentTypeIdAtEnd ElementId The end treatment type id at the end of the bar.
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 RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.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 RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd 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 (e.g hook, crank) out of plane rotation angle at the specified end. The angle is used for both hook and crank.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
RebarShape.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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
rotationAngle Double The out of plane rotation angle at the specified end. The angle will be used 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 4 missing 9 changed

Flip API Versions →

Missing in 2025 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, 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.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD9D6FBE5_1"></span></span>, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
terminationRotationAngleAtStart Double The termination's (e.g hook) out of plane rotation angle at the start of the bar.
terminationRotationAngleAtEnd Double The termination's (e.g hook) out of plane rotation angle at the end of the bar.
endTreatmentTypeIdAtStart ElementId The end treatment type id at the start of the bar.
endTreatmentTypeIdAtEnd ElementId The end treatment type id at the end of the bar.
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 RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.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 RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd 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 (e.g hook, crank) out of plane rotation angle at the specified end. The angle is used for both hook and crank.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
RebarShape.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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
rotationAngle Double The out of plane rotation angle at the specified end. The angle will be used 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 4 missing 9 changed

Flip API Versions →

Missing in 2025.3 (only available in 2026)

Changed members

RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not null, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
→ returns RebarShape A new RebarShape instance.
RebarShape.Create(Document, RebarShapeDefinition, RebarShapeMultiplanarDefinition, RebarStyle, StirrupTieAttachmentType, Int32, RebarHookOrientation, Int32, RebarHookOrientation, Int32, 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.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead
doc Document A document to contain the RebarShape.
definition RebarShapeDefinition The definition of the rebar shape, as a set of curves in a plane driven by parameters.
multiplanarDefinition RebarShapeMultiplanarDefinition If not <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTD9D6FBE5_1"></span></span>, the created RebarShape will be a 3D shape. The shape is built out of the planar RebarShapeDefinition, with additional out-of-plane segments defined by the RebarShapeMultiplanarDefinition object. Not supported in conjunction with RebarShapeDefinitionByArc of type Spiral or LappedCircle.
style RebarStyle Whether the shape is to be used as a standard bar or a stirrup/tie.
attachmentType StirrupTieAttachmentType When the style is stirrup/tie, specify whether it will attach to the interior of cover (cover is measured to the stirrups), or to the exterior of cover (cover is measured to the standard bars). Ignored when the style is Standard.
startHookAngle Int32 The start hook angle, expressed as an integral number of degrees. If 0, the shape will have no start hook. Common values are 0, 90, 135, and 180.
startHookOrientation RebarHookOrientation The orientation of the start hook. Ignored when startHookAngle is 0.
endHookAngle Int32 The end hook angle, expressed as an integral number of degrees. If 0, the shape will have no end hook. Common values are 0, 90, 135, and 180.
endHookOrientation RebarHookOrientation The orientation of the end hook. Ignored when endHookAngle is 0.
higherEnd Int32 When the rebar crosses itself, one end will be "lifted" to avoid self-intersection. Specify which end should be lifted: 0 for start, 1 for end.
terminationRotationAngleAtStart Double The termination's (e.g hook) out of plane rotation angle at the start of the bar.
terminationRotationAngleAtEnd Double The termination's (e.g hook) out of plane rotation angle at the end of the bar.
endTreatmentTypeIdAtStart ElementId The end treatment type id at the start of the bar.
endTreatmentTypeIdAtEnd ElementId The end treatment type id at the end of the bar.
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 RebarShape A new RebarShape instance.
RebarShape.GetDefaultHookAngle(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 RebarShape.GetTerminationsData().HookAngleAtStart or RebarShape.GetTerminationsData().HookAngleAtEnd instead.
end Int32 0 for the starting hook, 1 for the ending hook.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns Int32 Int32
RebarShape.GetDefaultHookOrientation(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 RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.
end Int32 0 for the termination at start, 1 for the termination at end.
index Int32 0 for the starting hook, 1 for the ending hook.
→ returns RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.
RebarShape.GetEndTreatmentTypeId(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 RebarShape.GetTerminationsData().EndTreatmentTypeIdAtStart or RebarShape.GetTerminationsData().EndTreatmentTypeIdAtEnd instead.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
→ returns ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.
RebarShape.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 RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd 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 (e.g hook, crank) out of plane rotation angle at the specified end. The angle is used for both hook and crank.
RebarShape.IsSameShapeIgnoringHooks(RebarShape)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.IsSameShapeIgnoringTerminations instead.
otherShape RebarShape Another shape to be compared to this one.
→ returns Boolean True if the shape definitions match, false otherwise.
RebarShape.SetEndTreatmentTypeId(ElementId, Int32, Int32)
Became obsolete in 2026: This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
endTreatmentId ElementId The id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
end Int32 0 for the start end treatment, 1 for the end end treatment.
iEnd Int32 0 for the start end treatment, 1 for the end end treatment.
RebarShape.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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.
rotationAngle Double The out of plane rotation angle at the specified end. The angle will be used 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.