Revit 2026 API
Reinforcement |
Hooks are defined by Rebar Shape of Rebar element. Can be changed if document contains no rebars, area reinforcements and path reinforcements.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool RebarShapeDefinesHooks { get; set; }
Public Property RebarShapeDefinesHooks As Boolean Get Set
public: property bool RebarShapeDefinesHooks { bool get (); void set (bool value); }
member RebarShapeDefinesHooks : bool with get, set
Property Value
Boolean| Exception | Condition |
|---|---|
| InvalidOperationException | When setting this property: Cannot change the RebarShapeDefinesHooks property in these settings because the document contains one or more Rebar elements. -or- When setting this property: Cannot change the RebarShapeDefinesHooks property in these settings because the document contains one or more AreaReinforcement or PathReinforcement elements. -or- When setting this property: Cannot change the RebarShapeDefinesHooks property in these settings because the document contains one or more RebarContainer elements. the document contains one or more RebarContainer elements. |
See Also