The RebarShapeDefinitionBySegments type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| | RebarShapeDefinitionBySegments | Create a rebar shape definition with a given number of segments. |
Methods
| Name | Description | |
|---|---|---|
| | AddBendDefaultRadius | Specify a default-radius bend. |
| | AddBendVariableRadius | Specify a variable-radius bend. |
| | AddConstraintParallelToSegment | Constrain the length of a segment by parameterizing its length. |
| | AddConstraintToSegment | Add a constraint that helps determine the length of a segment. |
| | AddFormulaParameter | Add a formula-driven parameter to the shape definition. (Inherited from RebarShapeDefinition .) |
| | AddListeningDimensionBendToBend | Specify a dimension between two bends, measured by a read-only parameter. |
| | AddListeningDimensionSegmentToBend | Specify a dimension perpendicular to one fixed-direction segment, referring to that segment and some other bend in the shape, measured by a read-only parameter. |
| | AddListeningDimensionSegmentToSegment | Specify a dimension perpendicular to two fixed-direction segments, measured by a read-only parameter. |
| | AddParameter | Add a parameter to the shape definition. (Inherited from RebarShapeDefinition .) |
| | CheckDefaultParameterValues | Check that the shape can be solved with the default parameter values. (Inherited from RebarShapeDefinition .) |
| | Dispose | (Inherited from RebarShapeDefinition .) |
| | Equals | (Inherited from Object .) |
| | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object .) |
| | GetParameterDefaultValue | Return the parameter's default value as stored in the definition. (Inherited from RebarShapeDefinition .) |
| | GetParameterFormula | Return the parameter's formula, if one is associated with it. (Inherited from RebarShapeDefinition .) |
| | GetParameters | Return the Ids of the shared parameters in the Definition. (Inherited from RebarShapeDefinition .) |
| | GetSegment | Return a reference to one of the segments in the definition. |
| | GetType | Gets the Type of the current instance. (Inherited from Object .) |
| | GetVertex | Return a reference to one of the vertices in the definition. |
| | HasParameter | Whether the definition stores the parameter. (Inherited from RebarShapeDefinition .) |
| | RemoveParameter | Remove the parameter from the definition. (Inherited from RebarShapeDefinition .) |
| | RemoveParameterFromSegment | Remove constraints from a segment. |
| | SetParameterDefaultValue | Change the parameter's value as stored in the definition. (Inherited from RebarShapeDefinition .) |
| | SetParameterFormula | Associate a formula with the parameter. (Inherited from RebarShapeDefinition .) |
| | SetSegmentAs180DegreeBend(Int32) | Indicates that a segment is a "virtual" segment introduced to describe a 180-degree bend. The radius of the bend will be taken from the Bar Type. |
| | SetSegmentAs180DegreeBend(Int32, ElementId, Boolean) | Indicate that a segment is a "virtual" segment introduced to describe a 180-degree bend. The radius of the bend will be driven by radiusParam. |
| | SetSegmentFixedDirection | Fix the direction of a segment. |
| | SetSegmentVariableDirection | Remove the fixed direction from a segment. |
| | ToString | Returns a string that represents the current object. (Inherited from Object .) |
Properties
| Name | Description | |
|---|---|---|
| | Complete | Report whether the shape definition is fully constrained. (Inherited from RebarShapeDefinition .) |
| | IsPlanar | Reports whether the shape definition lies within a plane: false if a spiral, true in all other cases. (Inherited from RebarShapeDefinition .) |
| | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. (Inherited from RebarShapeDefinition .) |
| | MajorSegmentIndex | Index of a segment that can be considered the most important. Revit attempts to preserve the orientation of this segment when a Rebar instance changes its RebarShape to one with a different number of segments. |
| | NumberOfSegments | The number of straight segments in this shape. |
| | NumberOfVertices | The number of vertices in this shape, always equal to NumberOfSegments + 1. |