RVTDocs.com

RebarContainerItem.RebarShapeId

Property
Description:
The RebarShape element that defines the shape of the rebar.
Remarks:
Changing the value of this property causes the Rebar instance to choose values for its shape parameters to preserve its previous shape as closely as possible
Syntax
public ElementId RebarShapeId { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: shapeId is not the id of a RebarShape in the document. -or- When setting this property: The RebarShape has End Treatments
ArgumentNullException When setting this property: A non-optional argument was null