2021 Class
Changes 7
C

RebarBendData

Description:
The values in this class provide a summary of information taken from the RebarBarType, RebarHookType, and RebarStyle.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarBendData
public class RebarBendData : IDisposable
Name Return Type Description
C RebarBendData() None Constructs a new RebarBendData with default settings.
C RebarBendData(RebarBarType, RebarHookType, RebarHookType, RebarStyle, RebarHookOrientation, RebarHookOrientation) None Constructs a new RebarBendData using the bar type, hook types, style and orientation values.
Name Return Type Description
M Dispose() None Releases all resources used by the
Name Return Type Description
P BarDiameter double The diameter of the bar.
P BendRadius double The radius of all fillets, except hook fillets, in the Rebar shape.
P HookAngle0 int The angle of the hook at the start.
P HookAngle1 int The angle of the hook at the end.
P HookBendRadius double The radius of the hook fillets in the Rebar shape.
P HookLength0 double The extension length of the hook at the start.
P HookLength1 double The extension length of the hook at the end.
P HookOrient0 RebarHookOrientation The orientation of the hook at the start.
P HookOrient1 RebarHookOrientation The orientation of the hook at the end.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.