Create a cylindrical helix.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- basePoint
-
Type:
Autodesk.Revit.DB
XYZ
Base point of the axis. It can be any point in 3d.
- radius
-
Type:
System
Double
Radius. It should be a positive number.
- xVector
-
Type:
Autodesk.Revit.DB
XYZ
X vector. Should be Non-zero vector.
- zVector
-
Type:
Autodesk.Revit.DB
XYZ
Z vector = axis direction. Should be non-zero and orthogonal to X Vector.
- pitch
-
Type:
System
Double
Pitch. It should be non-zero number, can be positive or negative. Positive means right handed and negative means left handed.
- startAngle
-
Type:
System
Double
Start angle. It specifies the start point of the Helix.
- endAngle
-
Type:
System
Double
End angle. It specifies the end point of the Helix. End angle should not be equal to start angle.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | The radius is negative -or- the pitch is zero -or- the xVector or zVector is zero length -or- zVector is not orthogonal to xVector -or- endAngle is equal to startAngle. |