Hide Table of Contents
InsertWeldmentTrimFeature2 Method (IFeatureManager)

Inserts a weldment trim feature for the specified weldment bodies or faces.

.NET Syntax

Visual Basic (Declaration) 
Function InsertWeldmentTrimFeature2( _
   ByVal EndCond As Integer, _
   ByVal Options As Integer, _
   ByVal GapValue As Double, _
   ByVal BodiesToTrim As Object, _
   ByVal BodiesOrFaces As Object _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim EndCond As Integer
Dim Options As Integer
Dim GapValue As Double
Dim BodiesToTrim As Object
Dim BodiesOrFaces As Object
Dim value As Feature
 
value = instance.InsertWeldmentTrimFeature2(EndCond, Options, GapValue, BodiesToTrim, BodiesOrFaces)
C# 
Feature InsertWeldmentTrimFeature2( 
   int EndCond,
   int Options,
   double GapValue,
   object BodiesToTrim,
   object BodiesOrFaces
)
C++/CLI 
Feature^ InsertWeldmentTrimFeature2( 
&   int EndCond,
&   int Options,
&   double GapValue,
&   Object^ BodiesToTrim,
&   Object^ BodiesOrFaces
) 

Parameters

EndCond
End condition as defined by swSolidworksWeldmentEndCondOptions_e
Options
Logical sum of values as defined in swWeldmentTrimExtendOptionType_e (see Remarks)
GapValue

Length to trim (see Remarks)

BodiesToTrim
Array of bodies to trim
BodiesOrFaces

Array of bodies or faces that define the trimming boundaries

Return Value

IFeature

Example

Remarks

Use IModelDocExtension::SelectByID2 and specify the following marks to select the body, or bodies, to trim and the trimming boundaries:

  • 1 = Body or bodies to trim
  • 2 = Trimming boundaries (body or face)

If you include swWeldmentTrimExtendOption_WeldGap in the Options parameter, then the GapValue parameter is used. Specify 0 for GapValue to ensure that there is no weld gap.

If you exclude swWeldmentTrimExtendOption_WeldGap from the Options parameter, then the weld gap defaults to the last value specified in the SolidWorks user-interface.

 

See Also

Availability

SolidWorks 2010 FCS, Revision Number 18.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:   InsertWeldmentTrimFeature2 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) 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.