Hide Table of Contents
FeatureCut2 Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::FeatureCut3.

.NET Syntax

Visual Basic (Declaration) 
Function FeatureCut2( _
   ByVal Sd As Boolean, _
   ByVal Flip As Boolean, _
   ByVal Dir As Boolean, _
   ByVal T1 As Integer, _
   ByVal T2 As Integer, _
   ByVal D1 As Double, _
   ByVal D2 As Double, _
   ByVal Dchk1 As Boolean, _
   ByVal Dchk2 As Boolean, _
   ByVal Ddir1 As Boolean, _
   ByVal Ddir2 As Boolean, _
   ByVal Dang1 As Double, _
   ByVal Dang2 As Double, _
   ByVal OffsetReverse1 As Boolean, _
   ByVal OffsetReverse2 As Boolean, _
   ByVal TranslateSurface1 As Boolean, _
   ByVal TranslateSurface2 As Boolean, _
   ByVal NormalCut As Boolean, _
   ByVal UseFeatScope As Boolean, _
   ByVal UseAutoSelect As Boolean, _
   ByVal AssemblyFeatureScope As Boolean, _
   ByVal AutoSelectComponents As Boolean, _
   ByVal PropagateFeatureToParts As Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Sd As Boolean
Dim Flip As Boolean
Dim Dir As Boolean
Dim T1 As Integer
Dim T2 As Integer
Dim D1 As Double
Dim D2 As Double
Dim Dchk1 As Boolean
Dim Dchk2 As Boolean
Dim Ddir1 As Boolean
Dim Ddir2 As Boolean
Dim Dang1 As Double
Dim Dang2 As Double
Dim OffsetReverse1 As Boolean
Dim OffsetReverse2 As Boolean
Dim TranslateSurface1 As Boolean
Dim TranslateSurface2 As Boolean
Dim NormalCut As Boolean
Dim UseFeatScope As Boolean
Dim UseAutoSelect As Boolean
Dim AssemblyFeatureScope As Boolean
Dim AutoSelectComponents As Boolean
Dim PropagateFeatureToParts As Boolean
Dim value As Feature
 
value = instance.FeatureCut2(Sd, Flip, Dir, T1, T2, D1, D2, Dchk1, Dchk2, Ddir1, Ddir2, Dang1, Dang2, OffsetReverse1, OffsetReverse2, TranslateSurface1, TranslateSurface2, NormalCut, UseFeatScope, UseAutoSelect, AssemblyFeatureScope, AutoSelectComponents, PropagateFeatureToParts)
C# 
Feature FeatureCut2( 
   bool Sd,
   bool Flip,
   bool Dir,
   int T1,
   int T2,
   double D1,
   double D2,
   bool Dchk1,
   bool Dchk2,
   bool Ddir1,
   bool Ddir2,
   double Dang1,
   double Dang2,
   bool OffsetReverse1,
   bool OffsetReverse2,
   bool TranslateSurface1,
   bool TranslateSurface2,
   bool NormalCut,
   bool UseFeatScope,
   bool UseAutoSelect,
   bool AssemblyFeatureScope,
   bool AutoSelectComponents,
   bool PropagateFeatureToParts
)
C++/CLI 
Feature^ FeatureCut2( 
&   bool Sd,
&   bool Flip,
&   bool Dir,
&   int T1,
&   int T2,
&   double D1,
&   double D2,
&   bool Dchk1,
&   bool Dchk2,
&   bool Ddir1,
&   bool Ddir2,
&   double Dang1,
&   double Dang2,
&   bool OffsetReverse1,
&   bool OffsetReverse2,
&   bool TranslateSurface1,
&   bool TranslateSurface2,
&   bool NormalCut,
&   bool UseFeatScope,
&   bool UseAutoSelect,
&   bool AssemblyFeatureScope,
&   bool AutoSelectComponents,
&   bool PropagateFeatureToParts
) 

Parameters

Sd

True for single-ended, false for doubled-ended

Flip

Flip to side cut; true if you want to remove material outside of the profile, false if not

Dir

Reverse direction; true if you want Direction 1 to be opposite of the default direction (see Remarks)

T1

Termination type for first end as defined in swEndConditions_e

T2
Termination type for second end as defined in swEndConditions_e
D1
Depth of extrusion for first end in meters
D2
Depth of extrusion for second end in meters
Dchk1
True allows draft angle in first direction, false does not allow drafting
Dchk2

True allows draft angle in second direction, false does not allow drafting

Ddir1
True for first draft angle to be inward, false to be outward
Ddir2
True for second draft angle to be inward, false be outward
Dang1
Draft angle for first end
Dang2

Draft angle for second end

OffsetReverse1
If you chose to offset the first end condition from another face or plane, then true specifies offset in direction away from the sketch, false specifies offset from the face or plane in a direction toward the sketch
OffsetReverse2
If you chose to offset the second end condition from another face or plane, then true specifies offset in direction away from the sketch, false specifies offset from the face or plane in a direction toward the sketch
TranslateSurface1

When you choose swEndcondOffsetFromSurface as the termination type for the first end, then true specifies that the end of the extrusion is a translation of the reference surface, false specifies to use a true offset

TranslateSurface2
When you choose swEndcondOffsetFromSurface as the termination type for the second end, then true specifies that the end of the extrusion is a translation of the reference surface, false specifies to use a true offset
NormalCut

True ensures that the cut is created normal to the sheet metal thickness, false does not (this argument applies only to sheet metal parts, use false for non-sheet metal parts)

UseFeatScope
True if the feature only affects selected bodies or components, false if the feature affects all bodies or components
UseAutoSelect
True to automatically select all bodies or components and have the feature affect those bodies or components, false to select the bodies or components the feature affects
AssemblyFeatureScope
True if the assembly feature only affects selected components in the assembly, false if the assembly feature affects all components in the assembly
AutoSelectComponents
True to auto-select all affected components, false to not (use the selected components only)
PropagateFeatureToParts
True to propagate the assembly feature to the components in the model that it affects, false to not

Return Value

Feature

Remarks

The default direction for cut operations are opposite the sketch normal. The default direction for boss operations is along the sketch normal. Setting the direction arguments to true reverse the default direction. For double-ended extrusions, Direction 2 is always be opposite to Direction 1.

The default sketch normal is the same as the face or plane normal where the sketch was placed. To determine this normal vector, see IFace2::Normal and IRefPlane::Transform, respectively.

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.

 

See Also

Availability

SolidWorks 2009 FCS, Revision Number 17.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:   FeatureCut2 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) 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.