RebarShapeDefinition
Description:
A class to assist in defining rebar shapes. A RebarShape element needs exactly one RebarShapeDefinition.
A class to assist in defining rebar shapes. A RebarShape element needs exactly one RebarShapeDefinition.
Remarks:
A RebarShapeDefinition stores a set of Rebar Shape parameters. Each parameter may be associated with:
A RebarShapeDefinition stores a set of Rebar Shape parameters. Each parameter may be associated with:
- One or more RebarShapeConstraints; or
- A formula; or
- Neither of the above.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDefinition
Autodesk.Revit.DB.Structure.RebarShapeDefinitionByArc
Autodesk.Revit.DB.Structure.RebarShapeDefinitionBySegments
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDefinition
Autodesk.Revit.DB.Structure.RebarShapeDefinitionByArc
Autodesk.Revit.DB.Structure.RebarShapeDefinitionBySegments
public class RebarShapeDefinition : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddFormulaParameter(ElementId, String) | None | Add a formula-driven parameter to the shape definition. | |
| AddParameter(ElementId, Double) | None | Add a parameter to the shape definition. | |
| CheckDefaultParameterValues(Double, Double) | Boolean | Check that the shape can be solved with the default parameter values. | |
| Dispose() | None | Releases all resources used by the RebarShapeDefinition | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetParameterDefaultValue(ElementId) | Double | Return the parameter's default value as stored in the definition. | |
| GetParameterFormula(ElementId) | String | Return the parameter's formula, if one is associated with it. | |
| GetParameters() | IList<ElementId> | Return the Ids of the shared parameters in the Definition. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| HasParameter(ElementId) | Boolean | Whether the definition stores the parameter. | |
| RemoveParameter(ElementId) | None | Remove the parameter from the definition. | |
| SetParameterDefaultValue(ElementId, Double) | None | Change the parameter's value as stored in the definition. | |
| SetParameterFormula(ElementId, String) | None | Associate a formula with the parameter. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Complete | bool | Report whether the shape definition is fully constrained. | |
| IsPlanar | bool | Reports whether the shape definition lies within a plane: false if a spiral, true in all other cases. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |