Hide Table of Contents
Initialize Method (IBaseFlangeFeatureData)

Initializes a newly created sheet metal base flange feature with the specified data.

.NET Syntax

Visual Basic (Declaration) 
Sub Initialize( _
   ByVal UseMaterialSheetMetalParameters As System.Boolean, _
   ByVal OverrideDefaultBendAllowance As System.Boolean, _
   ByVal CustomBendAllowance As System.Object, _
   ByVal OverrideDefaultBendRelief As System.Boolean, _
   ByVal ReliefType As System.Integer, _
   ByVal UseReliefRatio As System.Boolean, _
   ByVal ReliefRatio As System.Double, _
   ByVal ReliefWidth As System.Double, _
   ByVal ReliefDepth As System.Double _
) 
Visual Basic (Usage) 
Dim instance As IBaseFlangeFeatureData
Dim UseMaterialSheetMetalParameters As System.Boolean
Dim OverrideDefaultBendAllowance As System.Boolean
Dim CustomBendAllowance As System.Object
Dim OverrideDefaultBendRelief As System.Boolean
Dim ReliefType As System.Integer
Dim UseReliefRatio As System.Boolean
Dim ReliefRatio As System.Double
Dim ReliefWidth As System.Double
Dim ReliefDepth As System.Double
 
instance.Initialize(UseMaterialSheetMetalParameters, OverrideDefaultBendAllowance, CustomBendAllowance, OverrideDefaultBendRelief, ReliefType, UseReliefRatio, ReliefRatio, ReliefWidth, ReliefDepth)
C# 
void Initialize( 
   System.bool UseMaterialSheetMetalParameters,
   System.bool OverrideDefaultBendAllowance,
   System.object CustomBendAllowance,
   System.bool OverrideDefaultBendRelief,
   System.int ReliefType,
   System.bool UseReliefRatio,
   System.double ReliefRatio,
   System.double ReliefWidth,
   System.double ReliefDepth
)
C++/CLI 
void Initialize( 
&   System.bool UseMaterialSheetMetalParameters,
&   System.bool OverrideDefaultBendAllowance,
&   System.Object^ CustomBendAllowance,
&   System.bool OverrideDefaultBendRelief,
&   System.int ReliefType,
&   System.bool UseReliefRatio,
&   System.double ReliefRatio,
&   System.double ReliefWidth,
&   System.double ReliefDepth
) 

Parameters

UseMaterialSheetMetalParameters
True to use the sheet metal properties of the applied material, false to not
OverrideDefaultBendAllowance
True to override the default bend allowance, false to not
CustomBendAllowance
ICustomBendAllowance; valid only if OverrideDefaultBendAllowance is true
OverrideDefaultBendRelief
True to override the default bend relief, false to not
ReliefType

Relief type as defined in swSheetMetalReliefTypes_e; valid only if OverrideDefaultBendRelief is true

UseReliefRatio
True to use ReliefRatio, false to use ReliefWidth and ReliefDepth; valid only if OverrideDefaultBendRelief is true
ReliefRatio
Relief ratio; valid only if UseReliefRatio is true
ReliefWidth
Relief width (numerator of relief ratio); valid only if UseReliefRatio is false
ReliefDepth
Relief depth (denominator of relief ratio); valid only if UseReliefRatio is false

Example

See the IBaseFlangeFeatureData examples.

Remarks

After you call this method to initialize the base flange feature, you cannot change any of the properties associated with this method's parameters. After initialization you can get, but not set, the following using this interface:

  • Whether to use default bend allowance
  • Whether to use default bend relief
  • Whether to use material sheet metal parameters
  • Whether to use relief ratio
  • Custom bend allowance
  • Relief depth
  • Relief ratio
  • Relief type
  • Relief width

You can, however, change any properties associated with the parent sheet metal after calling this method. For example:

See the Examples.

 

See Also

Availability

SOLIDWORKS 2022 FCS, Revision Number 30


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:   Initialize Method (IBaseFlangeFeatureData)
*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) 2023 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.