Changes the RebarShape element that defines the shape of the rebar. Changing the value of this member causes the Rebar instance to choose values for its shape parameters to preserve its previous shape as closely as possible
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2018
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- shapeId
- Type: Autodesk.Revit.DBElementId
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | shapeId is not the id of a RebarShape in the document. |
Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |
Autodesk.Revit.ExceptionsInvalidOperationException | This RebarShapeDrivenAccessor doesn't contain a valid rebar reference. |