SetEndTreatmentTypeId
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2026).
Not present in: 2027
2026
current
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 |
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.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.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.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.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.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. |