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 System.String, _
   ByVal Flip As System.Boolean, _
   ByVal RotAngle As System.Double, _
   ByVal Config As System.String, _
   ByVal OverrideDoc As System.Boolean, _
   ByVal ShowPunch As System.Boolean, _
   ByVal ShowProfile As System.Boolean, _
   ByVal ShowCenter As System.Boolean, _
   ByVal LinkToPart As System.Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Path As System.String
Dim Flip As System.Boolean
Dim RotAngle As System.Double
Dim Config As System.String
Dim OverrideDoc As System.Boolean
Dim ShowPunch As System.Boolean
Dim ShowProfile As System.Boolean
Dim ShowCenter As System.Boolean
Dim LinkToPart As System.Boolean
Dim value As Feature
 
value = instance.InsertFormToolFeature(Path, Flip, RotAngle, Config, OverrideDoc, ShowPunch, ShowProfile, ShowCenter, LinkToPart)
C# 
Feature InsertFormToolFeature( 
   System.string Path,
   System.bool Flip,
   System.double RotAngle,
   System.string Config,
   System.bool OverrideDoc,
   System.bool ShowPunch,
   System.bool ShowProfile,
   System.bool ShowCenter,
   System.bool LinkToPart
)
C++/CLI 
Feature^ InsertFormToolFeature( 
&   System.String^ Path,
&   System.bool Flip,
&   System.double RotAngle,
&   System.String^ Config,
&   System.bool OverrideDoc,
&   System.bool ShowPunch,
&   System.bool ShowProfile,
&   System.bool ShowCenter,
&   System.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:

  • face, a single instance of the Design Library forming tool is placed on it. 
  • 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) 2018 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.