Set the RebarShapeDefinitionByArc.Type property to Spiral.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2011
Syntax
C# |
---|
public void SetArcTypeSpiral(
double height,
double pitch,
int baseFinishingTurns,
int topFinishingTurns
) |
Visual Basic |
---|
Public Sub SetArcTypeSpiral ( _
height As Double, _
pitch As Double, _
baseFinishingTurns As Integer, _
topFinishingTurns As Integer _
) |
Visual C++ |
---|
public:
void SetArcTypeSpiral(
double height,
double pitch,
int baseFinishingTurns,
int topFinishingTurns
) |
Parameters
- height
- Type: System..::..Double
The height of the spiral (assuming the spiral is vertical).
- pitch
- Type: System..::..Double
The pitch, or vertical distance traveled in one rotation.
- baseFinishingTurns
- Type: System..::..Int32
The number of finishing turns at the lower end of the spiral.
- topFinishingTurns
- Type: System..::..Int32
The number of finishing turns at the upper end of the spiral.
Remarks
Exceptions
See Also