RebarShapeDefinitionByArc
Definition of a shape whose size and position can determined by a single arc.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDefinition
Autodesk.Revit.DB.Structure.RebarShapeDefinitionByArc
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarShapeDefinitionByArc : RebarShapeDefinition
The RebarShapeDefinitionByArc type exposes the following members.
Constructors
Name
Description
Public Method
RebarShapeDefinitionByArc(Document, RebarShapeDefinitionByArcType)
Create a non-spiral shape definition.
Public Method
RebarShapeDefinitionByArc(Document, Double, Double, Int32, Int32)
Create a spiral shape definition.
Properties
Name
Description
Public Property
Complete
Report whether the shape definition is fully constrained.
(Inherited from RebarShapeDefinition)
Public Property
IsPlanar
Reports whether the shape definition lies within a plane: false if a spiral, true in all other cases.
(Inherited from RebarShapeDefinition)
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RebarShapeDefinition)
Public Property
Type
Among those rebar shapes defined by an arc, specify which kind.
Methods
Name
Description
Public Method
AddConstraintArcLength
Specify a parameter to drive the arc length of the shape.
Public Method
AddConstraintChordLength
Specify a parameter to drive the chord length (the straight-line distance between the endpoints of the arc).
Public Method
AddConstraintCircumference
Specify a parameter to drive the circumference of the shape.
Public Method
AddConstraintDiameter
Specify a parameter to drive the diameter of the shape.
Public Method
AddConstraintRadius
Specify a parameter to drive the radius of the shape.
Public Method
AddConstraintSagittaLength
Specify a parameter to drive the sagittal length (the height of the circular segment, measured perpendicular to the chord).
Public Method
AddFormulaParameter
Add a formula-driven parameter to the shape definition.
(Inherited from RebarShapeDefinition)
Public Method
AddParameter
Add a parameter to the shape definition.
(Inherited from RebarShapeDefinition)
Public Method
CheckDefaultParameterValues
Check that the shape can be solved with the default parameter values.
(Inherited from RebarShapeDefinition)
Public Method
Dispose
(Inherited from RebarShapeDefinition)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetConstraints
Retrieve the list of constraints associated with this definition.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetParameterDefaultValue
Return the parameter’s default value as stored in the definition.
(Inherited from RebarShapeDefinition)
Public Method
GetParameterFormula
Return the parameter’s formula, if one is associated with it.
(Inherited from RebarShapeDefinition)
Public Method
GetParameters
Return the Ids of the shared parameters in the Definition.
(Inherited from RebarShapeDefinition)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
HasParameter
Whether the definition stores the parameter.
(Inherited from RebarShapeDefinition)
Public Method
RemoveParameter
Remove the parameter from the definition.
(Inherited from RebarShapeDefinition)
Public Method
SetArcTypeSpiral
Set the RebarShapeDefinitionByArc.Type property to Spiral.
Public Method
SetConstraints
Assign a new list of constraints to this definition.
Public Method
SetParameterDefaultValue
Change the parameter’s value as stored in the definition.
(Inherited from RebarShapeDefinition)
Public Method
SetParameterFormula
Associate a formula with the parameter.
(Inherited from RebarShapeDefinition)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
In this shape definition, all dimensions are allowed to be driving dimensions.