BarTerminationsData Class


Bar Terminations Data Class

Class that stores data about reinforcement's terminations (e.g. hooks, cranks, end treatments)
Inheritance Hierarchy
System Object
Autodesk.Revit.DB.Structure BarTerminationsData

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

The BarTerminationsData type exposes the following members.

Constructors
Name Description
Public method BarTerminationsData Creates a new instance of BarTerminationData with the default values.
Top
Properties
Name Description
Public property CrankTypeIdAtEnd Identifies the crank type at the end of bar. Setting this property to a valid value, will set the HookTypeIdAtEnd and EndTreatmentTypeIdAtEnd to ElementId.InvalidElementId.
Public property CrankTypeIdAtStart Identifies the crank type at the start of bar. Setting this property to a valid value, will set the HookTypeIdAtStart and EndTreatmentTypeIdAtStart to ElementId.InvalidElementId.
Public property EndTreatmentTypeIdAtEnd Identifies the end treatment type at the end of bar. Setting this property to a valid value, will set the CrankTypeIdAtEnd and HookTypeIdAtEnd to ElementId.InvalidElementId.
Public property EndTreatmentTypeIdAtStart Identifies the end treatment type at the start of bar. Setting this property to a valid value, will set the CrankTypeIdAtStart and HookTypeIdAtStart to ElementId.InvalidElementId.
Public property HookTypeIdAtEnd Identifies the hook type at the end of bar. Setting this property to a valid value, will set the CrankTypeIdAtEnd and EndTreatmentTypeIdAtEnd to ElementId.InvalidElementId.
Public property HookTypeIdAtStart Identifies the hook type at the start of bar. Setting this property to a valid value, will set the CrankTypeIdAtStart and EndTreatmentTypeIdAtStart to ElementId.InvalidElementId
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property TerminationOrientationAtEnd

Identifies the orientation of the termination's (e.g. hook, crank) plane at the end of the bar with respect to the orientation of the last curve and the plane normal.

Only two values are permitted:

Value = Right: The termination is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

Value = Left: The termination is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

The default value is Left.

Public property TerminationOrientationAtStart

Identifies the orientation of the termination's (e.g. hook, crank) plane at the start of the bar with respect to the orientation of the first curve and the plane normal.

Only two values are permitted:

Value = Right: The termination is on your right as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

Value = Left: The termination is on your left as you stand at the end of the bar, with the bar behind you, taking the bar's normal as "up."

The default value is Left.

Public property TerminationRotationAngleAtEnd

Identifies the termination's (e.g. hook, crank) out of plane rotation angle (in radians) at the end of bar.

The default value is 0.

Public property TerminationRotationAngleAtStart

Identifies the termination's (e.g. hook, crank) out of plane rotation angle (in radians) at the start of bar.

The default value is 0.

Top
Methods
Name Description
Public method AsRebarShapeTerminationsData Creates a new instance of RebarShapeTerminationsData from this.
Public method Dispose Releases all resources used by the BarTerminationsData
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetDocument Gets the document containing the hook type ids, end treatment ids and crank type ids.
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 )
Top
See Also