InsertHelix Method (IModelDoc2)

Creates a helix.

# .NET Syntax

Visual Basic (Declaration)
```Sub InsertHelix( _
ByVal Reversed As Boolean, _
ByVal Clockwised As Boolean, _
ByVal Tapered As Boolean, _
ByVal Outward As Boolean, _
ByVal Helixdef As Integer, _
ByVal Height As Double, _
ByVal Pitch As Double, _
ByVal Revolution As Double, _
ByVal TaperAngle As Double, _
ByVal Startangle As Double _
) ```
Visual Basic (Usage)
``````Dim instance As IModelDoc2
Dim Reversed As Boolean
Dim Clockwised As Boolean
Dim Tapered As Boolean
Dim Outward As Boolean
Dim Helixdef As Integer
Dim Height As Double
Dim Pitch As Double
Dim Revolution As Double
Dim TaperAngle As Double
Dim Startangle As Double

instance.InsertHelix(Reversed, Clockwised, Tapered, Outward, Helixdef, Height, Pitch, Revolution, TaperAngle, Startangle)``````
C#
```void InsertHelix(
bool Reversed,
bool Clockwised,
bool Tapered,
bool Outward,
int Helixdef,
double Height,
double Pitch,
double Revolution,
double TaperAngle,
double Startangle
)```
C++/CLI
```void InsertHelix(
&   bool Reversed,
&   bool Clockwised,
&   bool Tapered,
&   bool Outward,
&   int Helixdef,
&   double Height,
&   double Pitch,
&   double Revolution,
&   double TaperAngle,
&   double Startangle
) ```

#### Parameters

Reversed
True creates a helix in the opposite direction of the circle used to define the helix diameter, false creates a helix in the direction of the circle's normal vector; the normal vector of a circle, for example, would be off the screen if the circle were drawn in a counter-clockwise direction
Clockwised
True for clockwise, false for counter-clockwise
Tapered
True to taper the helix, false for no taper
Outward
True to taper the helix outward, false for inward
Helixdef

Helix definition:

• 0 = (pitch and rev)
• 1 = (height and rev)
• 2 = (height and pitch)
• 3 = (spiral)
Height
Height of helix in meters
Pitch
Helix pitch
Revolution
Number of revolutions
TaperAngle
Taper angle
Startangle
Start angle rotation from base axis in radians

# Remarks

When creating a helix defined as spiral, you must specify the helix pitch and number of revolutions.

# Availability

SolidWorks 2001Plus FCS, Revision Number 10.0

Provide feedback on this topic

* Required

 *Email: Subject: Feedback on Help Topics Page: InsertHelix Method (IModelDoc2) *Comment: * I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

Never show this message again
x

Web Help Content Version: API Help (English only) 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.