Hide Table of Contents
InsertBends2 Method (IPartDoc)

Creates bends in a thin-feature part.

.NET Syntax

Visual Basic (Declaration) 
Function InsertBends2( _
   ByVal Radius As System.Double, _
   ByVal UseBendTable As System.String, _
   ByVal UseKfactor As System.Double, _
   ByVal UseBendAllowance As System.Double, _
   ByVal UseAutoRelief As System.Boolean, _
   ByVal OffsetRatio As System.Double, _
   ByVal DoFlatten As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IPartDoc
Dim Radius As System.Double
Dim UseBendTable As System.String
Dim UseKfactor As System.Double
Dim UseBendAllowance As System.Double
Dim UseAutoRelief As System.Boolean
Dim OffsetRatio As System.Double
Dim DoFlatten As System.Boolean
Dim value As System.Boolean
 
value = instance.InsertBends2(Radius, UseBendTable, UseKfactor, UseBendAllowance, UseAutoRelief, OffsetRatio, DoFlatten)
C# 
System.bool InsertBends2( 
   System.double Radius,
   System.string UseBendTable,
   System.double UseKfactor,
   System.double UseBendAllowance,
   System.bool UseAutoRelief,
   System.double OffsetRatio,
   System.bool DoFlatten
)
C++/CLI 
System.bool InsertBends2( 
&   System.double Radius,
&   System.String^ UseBendTable,
&   System.double UseKfactor,
&   System.double UseBendAllowance,
&   System.bool UseAutoRelief,
&   System.double OffsetRatio,
&   System.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) 2013 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.