RebarShape.SetEndTreatmentTypeId
Description:
Sets the EndTreatmentType id at the specified rebar shape end.
Sets the EndTreatmentType id 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 create a new shape using RebarShape.Create(Document doc, RebarShapeDefinition definition, RebarShapeMultiplanarDefinition multiplanarDefinition, RebarStyle style, StirrupTieAttachmentType attachmentType, int higherEnd, RebarShapeTerminationsData rebarShapeTerminationsData) instead.")]
public void SetEndTreatmentTypeId(
ElementId endTreatmentId,
int end
)
-
endTreatmentIdThe id of an EndTreatmentType element, or invalidElementId if the rebar shape should have no end treatment at the specified end.
-
Int32end0 for the start end treatment, 1 for the end end treatment.
-
end not a valid shape end -or- the parameter endTreatmentId is not an EndTreatmentType element.
-
A non-optional argument was null
No comments yet. Start the discussion.
Loading…