2026 Members
Changes 7
M

RebarShapeTerminationsData Properties

Name Return Type Description
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.