RebarBendData Class

The values in this class provide a summary of information taken from the RebarBarType, RebarHookType, and RebarStyle.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.StructureRebarBendData

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public class RebarBendData : IDisposable

The RebarBendData type exposes the following members.

Constructors
 NameDescription
Public methodRebarBendData Constructs a new RebarBendData with default settings.
Public methodRebarBendData(RebarBarType, RebarStyle, BarTerminationsData) Constructs a new RebarBendData using the bar type, style and termination's values.
Public methodRebarBendData(RebarBarType, RebarHookType, RebarHookType, RebarStyle, RebarHookOrientation, RebarHookOrientation)Obsolete.
Constructs a new RebarBendData using the bar type, hook types, style and orientation values.
Top
Properties
 NameDescription
Public propertyBarModelDiameter 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.
Public propertyBarNominalDiameter Defines the nominal diameter of the bar. The default value is 0.0.
Public propertyBendRadius The radius of all fillets, except hook fillets, in the Rebar shape. The default value is 0.0.
Public propertyCrankAngledLength0

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.

Public propertyCrankAngledLength1

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.

Public propertyCrankLength0

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.

Public propertyCrankLength1

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.

Public propertyCrankOffsetLength0

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.

Public propertyCrankOffsetLength1

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.

Public propertyCrankRatio0

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.

Public propertyCrankRatio1

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.

Public propertyCrankStraightLength0

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.

Public propertyCrankStraightLength1

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.

Public propertyHookAngle0 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.
Public propertyHookAngle1 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.
Public propertyHookBendRadius The radius of the hook fillets in the Rebar shape. The default value is 0.0.
Public propertyHookLength0 The extension length of the hook at the start. The default value is 0.0.
Public propertyHookLength1 The extension length of the hook at the end. The default value is 0.0.
Public propertyHookOrient0Obsolete.
Identifies the orientation of the termination (e.g. hook, crank) at the start. The default value is RebarTerminationOrientation::Left.
Public propertyHookOrient1Obsolete.
Identifies the orientation of the termination (e.g. hook, crank) at the end. The default value is RebarTerminationOrientation::Left.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyTerminationOrientation0 Identifies he orientation of the termination (e.g. hook, crank) at the start. The default value is RebarTerminationOrientation::Left.
Public propertyTerminationOrientation1 Identifies the orientation of the termination (e.g. hook, crank) at the end. The default value is RebarTerminationOrientation::Left.
Public propertyTerminationRotationAngle0 Identifies the termination's rotation angle (in radians) at the start. The default value is 0.0
Public propertyTerminationRotationAngle1 Identifies he termination's rotation angle (in radians) at the end. The default value is 0.0
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the RebarBendData
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also