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 System.Integer, _
   ByVal Options As System.Integer, _
   ByVal GapValue As System.Double, _
   ByVal BodiesToTrim As System.Object, _
   ByVal BodiesOrFaces As System.Object _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim EndCond As System.Integer
Dim Options As System.Integer
Dim GapValue As System.Double
Dim BodiesToTrim As System.Object
Dim BodiesOrFaces As System.Object
Dim value As Feature
 
value = instance.InsertWeldmentTrimFeature2(EndCond, Options, GapValue, BodiesToTrim, BodiesOrFaces)
C# 
Feature InsertWeldmentTrimFeature2( 
   System.int EndCond,
   System.int Options,
   System.double GapValue,
   System.object BodiesToTrim,
   System.object BodiesOrFaces
)
C++/CLI 
Feature^ InsertWeldmentTrimFeature2( 
&   System.int EndCond,
&   System.int Options,
&   System.double GapValue,
&   System.Object^ BodiesToTrim,
&   System.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) 2015 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.