Hide Table of Contents
FeatureRevolve Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::FeatureRevolve2.

.NET Syntax

Visual Basic (Declaration) 
Function FeatureRevolve( _
   ByVal Angle As System.Double, _
   ByVal ReverseDir As System.Boolean, _
   ByVal Angle2 As System.Double, _
   ByVal RevType As System.Integer, _
   ByVal Options As System.Integer, _
   ByVal Merge As System.Boolean, _
   ByVal UseFeatScope As System.Boolean, _
   ByVal UseAutoSel As System.Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Angle As System.Double
Dim ReverseDir As System.Boolean
Dim Angle2 As System.Double
Dim RevType As System.Integer
Dim Options As System.Integer
Dim Merge As System.Boolean
Dim UseFeatScope As System.Boolean
Dim UseAutoSel As System.Boolean
Dim value As Feature
 
value = instance.FeatureRevolve(Angle, ReverseDir, Angle2, RevType, Options, Merge, UseFeatScope, UseAutoSel)
C# 
Feature FeatureRevolve( 
   System.double Angle,
   System.bool ReverseDir,
   System.double Angle2,
   System.int RevType,
   System.int Options,
   System.bool Merge,
   System.bool UseFeatScope,
   System.bool UseAutoSel
)
C++/CLI 
Feature^ FeatureRevolve( 
&   System.double Angle,
&   System.bool ReverseDir,
&   System.double Angle2,
&   System.int RevType,
&   System.int Options,
&   System.bool Merge,
&   System.bool UseFeatScope,
&   System.bool UseAutoSel
) 

Parameters

Angle
Angle of revolution in radians
ReverseDir
True reverses the angle direction, false does not
Angle2
Angle of revolution in radians
RevType
Type of revolution as defined in swRevolveType_e
Options
Additional control as defined in swRevolveOptions_e
Merge
True to merge the results in a multibody part, false to not
UseFeatScope
True if the feature only affects selected bodies, false if the feature affects all bodies
UseAutoSel
True to automatically select all bodies and have the feature affect those bodies, false to select the bodies or components the feature affects (see Remarks)

Return Value

Pointer to the IFeature object

Example

Remarks

To select an axis for a revolve feature, first call IModelDocExtension::SelectByID2 with Mark set to 4. When UseAutoSel is false, the user must select the bodies  or components that the feature will affect.

 

See Also

Availability

SolidWorks 2003 FCS, Revision Number 11.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   FeatureRevolve Method (IFeatureManager)
*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) 2014 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.