The RebarShape element that defines the shape of the rebar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2016
Syntax
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
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | 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 |
| Autodesk.Revit.ExceptionsArgumentNullException | When setting this property: A non-optional argument was null |