Rebar
|
Class that stores data about rebar shape's terminations (e.g. hooks, cranks, end treatments)

System
Object
Autodesk.Revit.DB.Structure RebarShapeTerminationsData
Autodesk.Revit.DB.Structure RebarShapeTerminationsData
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)

The RebarShapeTerminationsData type exposes the following members.

Name | Description | |
---|---|---|
![]() |
RebarShapeTerminationsData | Creates a new instance of RebarShapeTerminationData with the default values. |

Name | Description | |
---|---|---|
![]() |
EndTreatmentTypeIdAtEnd | Identifies the end treatement type at the end of the rebar shape. Setting this property to a valid value, will set the HookAngleAtEnd to 0 and HasCrankAtEnd to false. |
![]() |
EndTreatmentTypeIdAtStart | Identifies the end treatment type at the start of the rebar shape. Setting this property to a valid value, will set the HookAngleAtStart to 0 and HasCrankAtStart to false. |
![]() |
HasCrankAtEnd | Identifies if the rebar shape has crank at end. Setting this property to true, will set the HookAngleAtEnd to 0 and EndTreatmentTypeIdAtEnd to ElementId.InvalidElementId. |
![]() |
HasCrankAtStart | Identifies if the rebar shape has crank at start. Setting this property to true, will set the HookAngleAtStart to 0 and EndTreatmentTypeIdAtStart to ElementId.InvalidElementId. |
![]() |
HookAngleAtEnd | Identifies the hook angle (in degrees) at the end of the rebar shape. The angle must be at least 0 and no more than 180. In case it is 0 it will be considered that the shape doesn't have a hook. Common values are 0, 90, 135, and 180. Setting this property to a value strictly greater than 0 and less or almost equal with 180 will set the HasCrankAtEnd to false and EndTreatmentTypeIdAtEnd to ElementId.InvalidElementId. |
![]() |
HookAngleAtStart | Identifies the hook angle (in degrees) at the start of the rebar shape. The angle must be at least 0 and no more than 180. In case it is 0 it will be considered that the shape doesn't have a hook. Common values are 0, 90, 135, and 180. Setting this property to a value strictly greater than 0 and less or almost equal with 180 will set the HasCrankAtStart to false and EndTreatmentTypeIdAtStart to ElementId.InvalidElementId. |
![]() |
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() |
TerminationOrientationAtEnd |
Identifies the orientation of the termination (e.g. hook, crank) at end. The default value is Left. |
![]() |
TerminationOrientationAtStart |
Identifies the orientation of the termination (e.g. hook, crank) at start. The default value is Left. |
![]() |
TerminationRotationAngleAtEnd |
Identifies the termination's (e.g. hook, crank) out of plane rotation angle (in radians) at the end of the rebar shape. The default value is 0. |
![]() |
TerminationRotationAngleAtStart |
Identifies the termination's (e.g. hook, crank) out of plane rotation angle (in radians) at the start of the rebar shape. The default value is 0. |

Name | Description | |
---|---|---|
![]() |
Dispose | Releases all resources used by the RebarShapeTerminationsData |
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from Object ) |
![]() |
GetDocument | Gets the document containing the end treatment ids. |
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from Object ) |
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from Object ) |
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from Object ) |
