RebarShapeDefinitionByArc(Document, Double, Double, Int32, Int32)
Description:
Create a spiral shape definition.
Create a spiral shape definition.
Remarks:
In order to create a spiral definition, you must provide default values for the spiral-specific parameters. Replaces RebarShape.NewDefinitionByArc() from prior versions.
In order to create a spiral definition, you must provide default values for the spiral-specific parameters. Replaces RebarShape.NewDefinitionByArc() from prior versions.
Overloads (2):
RebarShapeDefinitionByArc(Document,Double,Double,Int32,Int32)
public RebarShapeDefinitionByArc(
Document doc,
double height,
double pitch,
int baseFinishingTurns,
int topFinishingTurns
)
-
doc
-
DoubleheightThe height of the spiral (assuming the spiral is vertical).
-
DoublepitchThe pitch, or vertical distance traveled in one rotation.
-
Int32baseFinishingTurnsThe number of finishing turns at the lower end of the spiral.
-
Int32topFinishingTurnsThe number of finishing turns at the upper end of the spiral.
-
baseFinishingTurns is not between 0 and 100. -or- topFinishingTurns is not between 0 and 100.
-
A non-optional argument was null
-
The given value for height must be greater than 0 and no more than 30000 feet. -or- The given value for pitch must be greater than 0 and no more than 30000 feet.