Hide Table of Contents
FeatureRevolveCut Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::FeatureRevolveCut2.

.NET Syntax

Visual Basic (Declaration) 
Function FeatureRevolveCut( _
   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 UseFeatScope As System.Boolean, _
   ByVal UseAutoSelect 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 UseFeatScope As System.Boolean
Dim UseAutoSelect As System.Boolean
Dim value As Feature
 
value = instance.FeatureRevolveCut(Angle, ReverseDir, Angle2, RevType, Options, UseFeatScope, UseAutoSelect)
C# 
Feature FeatureRevolveCut( 
   System.double Angle,
   System.bool ReverseDir,
   System.double Angle2,
   System.int RevType,
   System.int Options,
   System.bool UseFeatScope,
   System.bool UseAutoSelect
)
C++/CLI 
Feature^ FeatureRevolveCut( 
&   System.double Angle,
&   System.bool ReverseDir,
&   System.double Angle2,
&   System.int RevType,
&   System.int Options,
&   System.bool UseFeatScope,
&   System.bool UseAutoSelect
) 

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(can be either mid-plane or two-direction)

Options

Additional control (see Remarks)

UseFeatScope

True if the feature only affects selected bodies, false if the feature affects all bodies

UseAutoSelect

True to automatically select all bodies and have the feature affect those bodies, false to select the bodies the feature affects (see Remarks)

Return Value

Pointer to the IFeature object

Example

Remarks

The Options argument allows additional control of the feature creation. Supported value is swAutoCloseSketch close the sketch if it is open.

When UseAutoSelect is false, the user must select the bodies that the feature will affect.

When using cut or cavity features that result in multiple bodies, you cannot select to keep all of the resulting bodies or one or more selected bodies.

For extruded feature cuts, see IFeatureManager::FeatureCut.

 

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:   FeatureRevolveCut 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) 2018 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.