> InsertWrapFeature Method (IFeatureManager)
Welcome
Getting Started
SolidWorks API Help
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
InsertWrapFeature Method (IFeatureManager)

Inserts a wrap feature using the selected sketch, pull direction, and nonplanar face.

.NET Syntax

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

Parameters

Type
  • 0 = Emboss
  • 1 = Deboss

  • 2 = Scribe

  • Thickness
    Thickness; 0.00001 through 10000 are valid values
    ReverseDir

    True to reverse direction, false to not

    Return Value

    Pointer to the IFeature object

    Example

    Remarks

    Selections must be marked as follows. You can use IModelDocExtension::SelectByID2 to mark selections.

    • 1 = Nonplanar face (nonplanar face on which to place wrap feature)

    • 2 = Pull direction (if Type is Emboss or Deboss)

    • 4 = 2D sketch of wrap feature; 3D sketches are invalid

     

    See Also

    Availability

    SolidWorks 2004 FCS, Revision Number 12.0


    Related SolidWorks Forum Content

    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:   InsertWrapFeature Method (IFeatureManager)
    *Comment:  
    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) 2012 SP05

    The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 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.