Hide Table of Contents
InsertWrapFeature2 Method (IFeatureManager)

Inserts a wrap feature.

.NET Syntax

Visual Basic (Declaration) 
Function InsertWrapFeature2( _
   ByVal Type As System.Integer, _
   ByVal Thickness As System.Double, _
   ByVal ReverseDir As System.Boolean, _
   ByVal Method As System.Integer, _
   ByVal MeshFactor As System.Integer _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Type As System.Integer
Dim Thickness As System.Double
Dim ReverseDir As System.Boolean
Dim Method As System.Integer
Dim MeshFactor As System.Integer
Dim value As Feature
 
value = instance.InsertWrapFeature2(Type, Thickness, ReverseDir, Method, MeshFactor)
C# 
Feature InsertWrapFeature2( 
   System.int Type,
   System.double Thickness,
   System.bool ReverseDir,
   System.int Method,
   System.int MeshFactor
)
C++/CLI 
Feature^ InsertWrapFeature2( 
&   System.int Type,
&   System.double Thickness,
&   System.bool ReverseDir,
&   System.int Method,
&   System.int MeshFactor
) 

Parameters

Type
Type of wrap as defined in swWrapSketchType_e
Thickness
Thickness; 0.00001 (thinnest) - 10000 (thickest)
ReverseDir

True to reverse the direction of the wrap, false to not

Method
Type of wrap method as defined in swWrapMethods_e
MeshFactor

Accuracy of flattened triangle mesh; 1 (lowest) - 10 (highest) 

Return Value

Wrap feature

Example

Remarks

To select... Use IModelDocExtension::SelectByID2 or IModelDocExtension::SelectByRay and specify a Mark of...
One or more faces on which to place the wrap feature 1

Pull direction entity if Type is:

  • swWrapSketchType_e.swWrapSketchType_Emboss
    - or -
  • swWrapSketchType_e.swWrapSketchType_Engrave

For a line or linear edge, the pull direction is the direction of the selected entity. For a plane, the pull direction is normal to the plane. To wrap the sketch normal to the sketch plane, do not select a pull direction entity.

2
2D sketch containing no open contours; 3D sketches are not supported 4

NOTE: The difference between this method and the now obsolete IFeatureManager::InsertWrapFeature is that IFeatureManager::InsertWrapFeature2 can create a wrap feature on one or more faces and IFeatureManager::InsertWrapFeature creates a wrap feature on one face only.

 

See Also

Availability

SOLIDWORKS 2017 FCS, Revision Number 25.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:   InsertWrapFeature2 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) 2017 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.