Hide Table of Contents
InsertCutSwept4 Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::InsertCutSwept5.

.NET Syntax

Visual Basic (Declaration) 
Function InsertCutSwept4( _
   ByVal Propagate As System.Boolean, _
   ByVal Alignment As System.Boolean, _
   ByVal TwistCtrlOption As System.Short, _
   ByVal KeepTangency As System.Boolean, _
   ByVal BAdvancedSmoothing As System.Boolean, _
   ByVal StartMatchingType As System.Short, _
   ByVal EndMatchingType As System.Short, _
   ByVal IsThinBody As System.Boolean, _
   ByVal Thickness1 As System.Double, _
   ByVal Thickness2 As System.Double, _
   ByVal ThinType As System.Short, _
   ByVal PathAlign As System.Short, _
   ByVal UseFeatScope As System.Boolean, _
   ByVal UseAutoSelect As System.Boolean, _
   ByVal TwistAngle As System.Double, _
   ByVal BMergeSmoothFaces As System.Boolean, _
   ByVal AssemblyFeatureScope As System.Boolean, _
   ByVal AutoSelectComponents As System.Boolean, _
   ByVal PropagateFeatureToParts As System.Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Propagate As System.Boolean
Dim Alignment As System.Boolean
Dim TwistCtrlOption As System.Short
Dim KeepTangency As System.Boolean
Dim BAdvancedSmoothing As System.Boolean
Dim StartMatchingType As System.Short
Dim EndMatchingType As System.Short
Dim IsThinBody As System.Boolean
Dim Thickness1 As System.Double
Dim Thickness2 As System.Double
Dim ThinType As System.Short
Dim PathAlign As System.Short
Dim UseFeatScope As System.Boolean
Dim UseAutoSelect As System.Boolean
Dim TwistAngle As System.Double
Dim BMergeSmoothFaces As System.Boolean
Dim AssemblyFeatureScope As System.Boolean
Dim AutoSelectComponents As System.Boolean
Dim PropagateFeatureToParts As System.Boolean
Dim value As Feature
 
value = instance.InsertCutSwept4(Propagate, Alignment, TwistCtrlOption, KeepTangency, BAdvancedSmoothing, StartMatchingType, EndMatchingType, IsThinBody, Thickness1, Thickness2, ThinType, PathAlign, UseFeatScope, UseAutoSelect, TwistAngle, BMergeSmoothFaces, AssemblyFeatureScope, AutoSelectComponents, PropagateFeatureToParts)
C# 
Feature InsertCutSwept4( 
   System.bool Propagate,
   System.bool Alignment,
   System.short TwistCtrlOption,
   System.bool KeepTangency,
   System.bool BAdvancedSmoothing,
   System.short StartMatchingType,
   System.short EndMatchingType,
   System.bool IsThinBody,
   System.double Thickness1,
   System.double Thickness2,
   System.short ThinType,
   System.short PathAlign,
   System.bool UseFeatScope,
   System.bool UseAutoSelect,
   System.double TwistAngle,
   System.bool BMergeSmoothFaces,
   System.bool AssemblyFeatureScope,
   System.bool AutoSelectComponents,
   System.bool PropagateFeatureToParts
)
C++/CLI 
Feature^ InsertCutSwept4( 
&   System.bool Propagate,
&   System.bool Alignment,
&   System.short TwistCtrlOption,
&   System.bool KeepTangency,
&   System.bool BAdvancedSmoothing,
&   System.short StartMatchingType,
&   System.short EndMatchingType,
&   System.bool IsThinBody,
&   System.double Thickness1,
&   System.double Thickness2,
&   System.short ThinType,
&   System.short PathAlign,
&   System.bool UseFeatScope,
&   System.bool UseAutoSelect,
&   System.double TwistAngle,
&   System.bool BMergeSmoothFaces,
&   System.bool AssemblyFeatureScope,
&   System.bool AutoSelectComponents,
&   System.bool PropagateFeatureToParts
) 

Parameters

Propagate
True propagates the sweep cut to the next edge, false causes the sweep cut to occur only on the selected edge; to propagate to the next edge, the next edge must be tangent to the current edge
Alignment
If the curve used to sweep goes from one face to another or from one edge to another, then true causes the sweep to cut completely through the end faces of the cut, and false causes the cut to begin and end perpendicular to the sweep curve; therefore, it may not break through the two end faces of the body being cut
TwistCtrlOption
Twist control options as defined in swTwistControlType_e
KeepTangency
If the sweep section has tangent segments, true causes the corresponding surfaces in the resulting sweep to be tangent, false does not
BAdvancedSmoothing
If the sweep section has circular or elliptical arcs, true approximates the sections and smooths the surfaces, false does not
StartMatchingType
Tangency type as defined in swTangencyType_e
EndMatchingType
Tangency type as defined in swTangencyType_e
IsThinBody
True if this feature is a thin body, false if not
Thickness1
Thickness value for the first direction
Thickness2
Thickness value for the second direction
ThinType
Thin wall type as defined in swThinWallType_e
PathAlign
Align path type (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)
TwistAngle
If TwistCtrlOption is set to swTwistControlType_e.swTwistControlConstantTwistAlongPath, then specify end twist angle
BMergeSmoothFaces
True to merge smooth faces, false to not
AssemblyFeatureScope
True if the sweep cut affects only selected components in the assembly, false if the sweep cut affects all components in the assembly (see Remarks)
AutoSelectComponents
True to auto-select all affected components in the assembly, false to use manually selected components (see Remarks)
PropagateFeatureToParts
True to extend the sweep cut feature to all affected parts in the assembly, false to just insert the sweep cut into the assembly (see Remarks)

Return Value

Pointer to the IFeature object

Example

Remarks

Before calling this method, call IModelDocExtension::SelectByID2 multiple times to select the profile, guide curves, and sweep path for the cut, setting the Mark parameter in each case as follows:

  • 1 = Profile selection

  • 2 = Guide-curve selection, if provided

  • 4 = Sweep path selection

The PathAlign argument is available when TwistCtrlOption is set to 0 and can take one of these values:

  • 0 = None; no correction (default)

  • 2 = Direction vector; a plane, planar face, or line defines the path

  • 3 = All faces; includes neighboring faces

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. 

Use AssemblyFeatureScope, AutoSelectComponents, and PropagateFeatureToParts to insert sweep cuts into an assembly. AssemblyFeatureScope and AutoSelectComponents perform just like the configuration of the Feature Scope section on the PropertyManager page of the sweep feature:

AssemblyFeatureScope setting AutoSelectComponents setting PropertyManager page Feature Scope setting
False Ignored

All components selected

Auto-select not visible

True

If true, affected components are automatically selected

If false, manually select the affected components in the view before calling this API

Selected components selected

If Auto-select is not seelcted, then manually select affected components in the view

 

See Also

Availability

SOLIDWORKS 2011 FCS, Revision Number 19.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:   InsertCutSwept4 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) 2019 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.