2026 Method
Changes 8
M

RebarShape.GetEndTreatmentTypeId

Description:
Gets the id of the EndTreatmentType at the specified rebar shape end.
[ObsoleteAttribute("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.")]
public ElementId GetEndTreatmentTypeId(
	int end
)
  • Int32
    end
    0 for the start end treatment, 1 for the end end treatment.
Return Value ElementId Returns the id of an EndTreatmentType, or invalidElementId if the rebar shape has no end treatment at the specified end.