Hide Table of Contents
InsertBends2 Method (IPartDoc)

Creates bends in a thin-feature part.

.NET Syntax

Visual Basic (Declaration) 
Function InsertBends2( _
   ByVal Radius As Double, _
   ByVal UseBendTable As String, _
   ByVal UseKfactor As Double, _
   ByVal UseBendAllowance As Double, _
   ByVal UseAutoRelief As Boolean, _
   ByVal OffsetRatio As Double, _
   ByVal DoFlatten As Boolean _
) As Boolean
Visual Basic (Usage) 
Dim instance As IPartDoc
Dim Radius As Double
Dim UseBendTable As String
Dim UseKfactor As Double
Dim UseBendAllowance As Double
Dim UseAutoRelief As Boolean
Dim OffsetRatio As Double
Dim DoFlatten As Boolean
Dim value As Boolean
 
value = instance.InsertBends2(Radius, UseBendTable, UseKfactor, UseBendAllowance, UseAutoRelief, OffsetRatio, DoFlatten)
C# 
bool InsertBends2( 
   double Radius,
   string UseBendTable,
   double UseKfactor,
   double UseBendAllowance,
   bool UseAutoRelief,
   double OffsetRatio,
   bool DoFlatten
)
C++/CLI 
bool InsertBends2( 
&   double Radius,
&   String^ UseBendTable,
&   double UseKfactor,
&   double UseBendAllowance,
&   bool UseAutoRelief,
&   double OffsetRatio,
&   bool DoFlatten
) 

Parameters

Radius

Radius of the bends

UseBendTable

Bend table name (.btl file)

UseKfactor

K-Factor ratio or -1 if not used

UseBendAllowance

Bend allowance value or -1 if not used

UseAutoRelief

True if auto-relief cuts are to be added, false if not

OffsetRatio

Distance relief cut extends beyond bend (see Remarks)

DoFlatten

True to create these three features: Sheet-Metal, Flatten-Bends, and Process-Bends, false to create only the Sheet-Metal feature

Return Value

True if successful, false if not

Remarks

The offsetRatio argument is from 0.05 to 2.0.  Any other value fails to create the
bend features.


When True is passed to doFlatten, all three Sheet-Metal features are created.


For more information on these arguments, see SolidWorks Help.

 

See Also

Availability

SolidWorks 2000 FCS, Revision Number 8.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:   InsertBends2 Method (IPartDoc)
*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) 2010 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.