The RebarShape element that defines the shape of the rebar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ElementId RebarShapeId { get; set; }
Property Value
ElementIdExceptions
Exception | Condition |
---|---|
ArgumentException | When setting this property: shapeId is not the id of a RebarShape in the document. -or- When setting this property: A RebarContainerItem cannot be created from a Rebar Shape that has End Treatments or Cranks or terminations' rotation angles are different than 0. |
ArgumentNullException | When setting this property: A non-optional argument was null |