RebarBendData
The values in this class provide a summary of information taken from the RebarBarType, RebarHookType, and RebarStyle.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Structure.RebarBendData
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarBendData : IDisposable
The RebarBendData type exposes the following members.
Constructors
Name
Description
Public Method
RebarBendData.
Constructs a new RebarBendData with default settings.
Public Method
RebarBendData(RebarBarType, RebarHookType, RebarHookType, RebarStyle, RebarHookOrientation, RebarHookOrientation)
Constructs a new RebarBendData using the bar type, hook types, style and orientation values.
Properties
Name
Description
Public Property
BarModelDiameter
Defines the model diameter of the bar.
Public Property
BarNominalDiameter
Defines the nominal diameter of the bar.
Public Property
BendRadius
The radius of all fillets, except hook fillets, in the Rebar shape.
Public Property
HookAngle0
The angle of the hook at the start.
Public Property
HookAngle1
The angle of the hook at the end.
Public Property
HookBendRadius
The radius of the hook fillets in the Rebar shape.
Public Property
HookLength0
The extension length of the hook at the start.
Public Property
HookLength1
The extension length of the hook at the end.
Public Property
HookOrient0
The orientation of the hook at the start.
Public Property
HookOrient1
The orientation of the hook at the end.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the RebarBendData
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
The purpose of collecting the values in this class is to allow you to create and analyze an accurate representation of a RebarShape, without creating a Rebar instance, and without referring to RebarBarType, RebarHookType, and RebarStyle. If you do have a Rebar instance, its GetBendData() method will produce a RebarBendData object.