2027 Class
Changes 7
C

BarTerminationsData

Description:
Class that stores data about reinforcement's terminations (e.g.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.BarTerminationsData
public class BarTerminationsData : IDisposable
Name Return Type Description Inherited From
C BarTerminationsData(Document) None Creates a new instance of BarTerminationData with the default values.
Name Return Type Description Inherited From
M AsRebarShapeTerminationsData() RebarShapeTerminationsData Creates a new instance of RebarShapeTerminationsData from this.
M Dispose() None Releases all resources used by the BarTerminationsData
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetDocument() Document Gets the document containing the hook type ids, end treatment ids and crank type ids.
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 CrankTypeIdAtEnd ElementId 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.
P CrankTypeIdAtStart ElementId 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.
P EndTreatmentTypeIdAtEnd ElementId 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.
P EndTreatmentTypeIdAtStart ElementId 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.
P HookTypeIdAtEnd ElementId 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.
P HookTypeIdAtStart ElementId 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
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P TerminationOrientationAtEnd RebarTerminationOrientation 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.
P TerminationOrientationAtStart RebarTerminationOrientation 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.
P TerminationRotationAngleAtEnd double 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.
P TerminationRotationAngleAtStart double 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.