2027 Class
Changes 7
C

RebarShapeTerminationsData

Description:
Class that stores data about rebar shape's terminations (e.g.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarShapeTerminationsData
public class RebarShapeTerminationsData : IDisposable
Name Return Type Description Inherited From
C RebarShapeTerminationsData(Document) None Creates a new instance of RebarShapeTerminationData with the default values.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the RebarShapeTerminationsData
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 end treatment 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 EndTreatmentTypeIdAtEnd ElementId 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.
P EndTreatmentTypeIdAtStart ElementId 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.
P HasCrankAtEnd bool 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.
P HasCrankAtStart bool 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.
P HookAngleAtEnd int 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.
P HookAngleAtStart int 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.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P TerminationOrientationAtEnd RebarTerminationOrientation Identifies the orientation of the termination (e.g. hook, crank) at end. The default value is Left.
P TerminationOrientationAtStart RebarTerminationOrientation Identifies the orientation of the termination (e.g. hook, crank) at start. 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 the rebar shape. 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 the rebar shape. The default value is 0.