Hide Table of Contents
InsertFormToolFeature Method (IFeatureManager)

Inserts a forming tool from the Design Library into a sheet metal part.

.NET Syntax

Visual Basic (Declaration) 
Function InsertFormToolFeature( _
   ByVal Path As String, _
   ByVal Flip As Boolean, _
   ByVal RotAngle As Double, _
   ByVal Config As String, _
   ByVal OverrideDoc As Boolean, _
   ByVal ShowPunch As Boolean, _
   ByVal ShowProfile As Boolean, _
   ByVal ShowCenter As Boolean, _
   ByVal LinkToPart As Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Path As String
Dim Flip As Boolean
Dim RotAngle As Double
Dim Config As String
Dim OverrideDoc As Boolean
Dim ShowPunch As Boolean
Dim ShowProfile As Boolean
Dim ShowCenter As Boolean
Dim LinkToPart As Boolean
Dim value As Feature
 
value = instance.InsertFormToolFeature(Path, Flip, RotAngle, Config, OverrideDoc, ShowPunch, ShowProfile, ShowCenter, LinkToPart)
C# 
Feature InsertFormToolFeature( 
   string Path,
   bool Flip,
   double RotAngle,
   string Config,
   bool OverrideDoc,
   bool ShowPunch,
   bool ShowProfile,
   bool ShowCenter,
   bool LinkToPart
)
C++/CLI 
Feature^ InsertFormToolFeature( 
&   String^ Path,
&   bool Flip,
&   double RotAngle,
&   String^ Config,
&   bool OverrideDoc,
&   bool ShowPunch,
&   bool ShowProfile,
&   bool ShowCenter,
&   bool LinkToPart
) 

Parameters

Path
Pathname of the forming tool part file in the Design Library
Flip

Whether to reverse the direction of the cut of the forming tool when inserted

RotAngle
Angle of the forming tool
Config
Name of the configuration of the forming tool to insert
OverrideDoc
True to override the document settings in Tools > Options > Document Properties > Sheet Metal, false to not
ShowPunch
True to display the cut of the forming tool when the part is flattened, false to not; valid only if OverrideDoc = true
ShowProfile
True to display the placement sketch of the forming tool when the part is flattened, false to not; valid only if OverrideDoc = true
ShowCenter
True to display the center mark where the forming tool is located in the flat pattern, false to not; valid only if OverrideDoc = true
LinkToPart
True to link the forming tool feature to its part in the Design Library, false to not

Return Value

IFeature

Example

Remarks

Before calling this method, select either a face or a 2D sketch containing points. If you select a face, a single instance of the Design Library forming tool is placed on it. If you select a sketch containing points, an instance of the Design Library forming tool is placed at each point in the sketch.

To create your own forming tool, call IFeatureManager::CreateFormTool.

 

See Also

Availability

SolidWorks 2012 FCS, Revision Number 20.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:   InsertFormToolFeature 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) 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.