RebarShapeDefinitionByArc
Description:
Definition of a shape whose size and position can determined by a single arc.
Definition of a shape whose size and position can determined by a single arc.
Remarks:
In this shape definition, all dimensions are allowed to be driving dimensions.
In this shape definition, all dimensions are allowed to be driving dimensions.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDefinition
Autodesk.Revit.DB.Structure.RebarShapeDefinitionByArc
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDefinition
Autodesk.Revit.DB.Structure.RebarShapeDefinitionByArc
public class RebarShapeDefinitionByArc : RebarShapeDefinition
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| RebarShapeDefinitionByArc(Document, Double, Double, Int32, Int32) | None | Create a spiral shape definition. | |
| RebarShapeDefinitionByArc(Document, RebarShapeDefinitionByArcType) | None | Create a non-spiral shape definition. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddConstraintArcLength(ElementId) | None | Specify a parameter to drive the arc length of the shape. | |
| AddConstraintChordLength(ElementId) | None | Specify a parameter to drive the chord length (the straight-line distance between the endpoints of the arc). | |
| AddConstraintCircumference(ElementId, RebarShapeArcReferenceType) | None | Specify a parameter to drive the circumference of the shape. | |
| AddConstraintDiameter(ElementId, RebarShapeArcReferenceType) | None | Specify a parameter to drive the diameter of the shape. | |
| AddConstraintRadius(ElementId, RebarShapeArcReferenceType) | None | Specify a parameter to drive the radius of the shape. | |
| AddConstraintSagittaLength(ElementId) | None | Specify a parameter to drive the sagittal length (the height of the circular segment, measured perpendicular to the chord). | |
| GetConstraints() | IList<RebarShapeConstraint> | Retrieve the list of constraints associated with this definition. | |
| SetArcTypeSpiral(Double, Double, Int32, Int32) | None | Set the RebarShapeDefinitionByArc.Type property to Spiral. | |
| SetConstraints(IList<RebarShapeConstraint>) | None | Assign a new list of constraints to this definition. | |
| AddFormulaParameter(ElementId, String) | None | Add a formula-driven parameter to the shape definition. | RebarShapeDefinition |
| AddParameter(ElementId, Double) | None | Add a parameter to the shape definition. | RebarShapeDefinition |
| CheckDefaultParameterValues(Double, Double) | bool | Check that the shape can be solved with the default parameter values. | RebarShapeDefinition |
| Dispose() | None | Releases all resources used by the | RebarShapeDefinition |
| GetParameterDefaultValue(ElementId) | The parameter value. | Return the parameter's default value as stored in the definition. | RebarShapeDefinition |
| GetParameterFormula(ElementId) | string | Return the parameter's formula, if one is associated with it. | RebarShapeDefinition |
| GetParameters() | IList<ElementId> | Return the Ids of the shared parameters in the Definition. | RebarShapeDefinition |
| HasParameter(ElementId) | bool | Whether the definition stores the parameter. | RebarShapeDefinition |
| RemoveParameter(ElementId) | None | Remove the parameter from the definition. | RebarShapeDefinition |
| SetParameterDefaultValue(ElementId, Double) | None | Change the parameter's value as stored in the definition. | RebarShapeDefinition |
| SetParameterFormula(ElementId, String) | None | Associate a formula with the parameter. | RebarShapeDefinition |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Type | RebarShapeDefinitionByArcType | Among those rebar shapes defined by an arc, specify which kind. | |
| Complete | bool | Report whether the shape definition is fully constrained. | RebarShapeDefinition |
| IsPlanar | bool | Reports whether the shape definition lies within a plane: false if a spiral, true in all other cases. | RebarShapeDefinition |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | RebarShapeDefinition |