Revit 2025 API
Path |
The RebarShape element that defines the shape of the primary bars of the Path Reinforcement.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementId PrimaryBarShapeId { get; set; }
Public Property PrimaryBarShapeId As ElementId Get Set
public: property ElementId^ PrimaryBarShapeId { ElementId^ get (); void set (ElementId^ value); }
member PrimaryBarShapeId : ElementId with get, set
Property Value
ElementId
Exception | Condition |
---|---|
ArgumentException | When setting this property: shapeId should refer to two dimensional Rebar Shape element with segments forming only right angles. |
ArgumentNullException | When setting this property: A non-optional argument was null |
InvalidOperationException | When setting this property: This PathReinforcement does not host Rebar. |

Changing the value of this property causes the Path Reinforcement to choose values for its
shape parameters.
See Also