2027 Method
Changes 1
M

Rebar.SetEndTreatmentTypeId

Description:
Sets the id of the EndTreatmentType to be applied to the rebar. This can be done if and only if the end of the bar on which the end treatment is applied has no RebarCoupler on it, otherwise will throw an exception.
public void SetEndTreatmentTypeId(
	int end,
	ElementId endTreatmentTypeId
)
  • Int32
    end
    0 for the start end treatment, 1 for the end end treatment.
  • endTreatmentTypeId
    The id of a EndTreatmentType element, or invalidElementId if the rebar should have no end treatment at the specified end.