2026 Class
Changes 8
C

RebarBendData

Description:
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
public class RebarBendData : IDisposable
Name Return Type Description Inherited From
C RebarBendData() None Constructs a new RebarBendData with default settings.
C RebarBendData(RebarBarType, RebarStyle, BarTerminationsData) None Constructs a new RebarBendData using the bar type, style and termination's values.
C RebarBendData(RebarBarType, RebarHookType, RebarHookType, RebarStyle, RebarHookOrientation, RebarHookOrientation) use Obsolete. Constructs a new RebarBendData using the bar type, hook types, style and orientation values.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the RebarBendData
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P BarModelDiameter double Defines the model diameter of the bar. The default value is 0.0. When this is changed, the CrankStraightLength0, CrankStraightLength1, CrankAnledLength0, CrankAnledLength1 will be recomputed.
P BarNominalDiameter double Defines the nominal diameter of the bar. The default value is 0.0.
P BendRadius double The radius of all fillets, except hook fillets, in the Rebar shape. The default value is 0.0.
P CrankAngledLength0 double Identifies the crank angled length at the start. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankAngledLength1 double Identifies the crank angled length at the end. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankLength0 double Identifies the crank length at the start. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankLength1 double Identifies the crank length at the end. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankOffsetLength0 double Identifies the crank offset length at the start. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankOffsetLength1 double Identifies the crank offset length at the end. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankRatio0 double Identifies the crank ratio at the start. The 1:crankRatio that defines the crank slope. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankRatio1 double Identifies the crank ratio at the end. The 1:crankRatio that defines the crank slope. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankStraightLength0 double Identifies the crank straight length at the start. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P CrankStraightLength1 double Identifies the crank straight length at the end. The default value is 0. A positive value means that there is a valid crank. If the value is 0 it means that there is no crank. If the value is negative it means that there is a crank with incorrect values.
P HookAngle0 int The angle (in degrees) of the hook at the start. Must be at least 0 and no more than 180. If the value is 0 it means that there is no hook. The default value is 0. When setting from 0 to another value, all crank lengths for start will be set to 0. When setting this value to 0 HookLength0 will be set to 0.
P HookAngle1 int The angle (in degrees) of the hook at the end. Must be at least 0 and no more than 180. If the value is 0 it means that there is no hook. The default value is 0. When setting from 0 to another value all crank lengths for end will be set to 0. When setting this value to 0 HookLength1 will be set to 0.
P HookBendRadius double The radius of the hook fillets in the Rebar shape. The default value is 0.0.
P HookLength0 double The extension length of the hook at the start. The default value is 0.0.
P HookLength1 double The extension length of the hook at the end. The default value is 0.0.
P HookOrient0 RebarHookOrientation Obsolete. Identifies the orientation of the termination (e.g. hook, crank) at the start. The default value is RebarTerminationOrientation::Left.
P HookOrient1 RebarHookOrientation Obsolete. Identifies the orientation of the termination (e.g. hook, crank) at the end. The default value is RebarTerminationOrientation::Left.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P TerminationOrientation0 RebarTerminationOrientation Identifies he orientation of the termination (e.g. hook, crank) at the start. The default value is RebarTerminationOrientation::Left.
P TerminationOrientation1 RebarTerminationOrientation Identifies the orientation of the termination (e.g. hook, crank) at the end. The default value is RebarTerminationOrientation::Left.
P TerminationRotationAngle0 double Identifies the termination's rotation angle (in radians) at the start. The default value is 0.0
P TerminationRotationAngle1 double Identifies he termination's rotation angle (in radians) at the end. The default value is 0.0