Rebar |
The RebarShapeSegment type exposes the following members.
| Name | Description | |
|---|---|---|
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the RebarShapeSegment | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetConstraints | Retrieve the list of constraints associated with this segment. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| SetConstraints | ||
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Each segment must have enough constraints to determine its position. Overconstraining is allowed. The most common combinations are:
Length constraints may be measured in two ways. For "measured to the outside of the bend," the reference is a tangent to the exterior face of the bar; the thickness of the bar is included. For "measured to the inside," the reference is the center of the arc of the bend; this is the point where the bend begins, if the constraint is parallel to the segment.
A 180-degree bend is described by introducing a short segment in between the two straight segments, tangent to the midpoint of the bend.