BarTerminationsData Class

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

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
 NameDescription
Public methodBarTerminationsData Creates a new instance of BarTerminationData with the default values.
Top
Properties
 NameDescription
Public propertyCrankTypeIdAtEnd 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 propertyCrankTypeIdAtStart 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 propertyEndTreatmentTypeIdAtEnd 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 propertyEndTreatmentTypeIdAtStart 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 propertyHookTypeIdAtEnd 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 propertyHookTypeIdAtStart 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 propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyTerminationOrientationAtEnd

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 propertyTerminationOrientationAtStart

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 propertyTerminationRotationAngleAtEnd

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 propertyTerminationRotationAngleAtStart

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
 NameDescription
Public methodAsRebarShapeTerminationsData Creates a new instance of RebarShapeTerminationsData from this.
Public methodDisposeReleases all resources used by the BarTerminationsData
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetDocument Gets the document containing the hook type ids, end treatment ids and crank type ids.
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