RebarShapeTerminationsData
Description:
Class that stores data about rebar shape's terminations (e.g.
Class that stores data about rebar shape's terminations (e.g.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Structure.RebarShapeTerminationsData
System.Object
Autodesk.Revit.DB.Structure.RebarShapeTerminationsData
public class RebarShapeTerminationsData : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| RebarShapeTerminationsData(Document) | None | Creates a new instance of RebarShapeTerminationData with the default values. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the RebarShapeTerminationsData | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetDocument() | Document | Gets the document containing the end treatment ids. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| TerminationOrientationAtEnd | RebarTerminationOrientation | Identifies the orientation of the termination (e.g. hook, crank) at end. The default value is Left. | |
| TerminationOrientationAtStart | RebarTerminationOrientation | Identifies the orientation of the termination (e.g. hook, crank) at start. The default value is Left. | |
| 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. | |
| 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. |