Hide Table of Contents
InsertCosmeticWeldBead2 Method (IFeatureManager)

Inserts a cosmetic weld bead using either weld geometry or a weld path.

.NET Syntax

Visual Basic (Declaration) 
Function InsertCosmeticWeldBead2( _
   ByVal WeldMode As System.Integer, _
   ByVal WeldFromFaceOrEdgeSet As System.Object, _
   ByVal WeldToFaceOrEdgeSet As System.Object, _
   ByVal WeldSize As System.Double _
) As System.Object
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim WeldMode As System.Integer
Dim WeldFromFaceOrEdgeSet As System.Object
Dim WeldToFaceOrEdgeSet As System.Object
Dim WeldSize As System.Double
Dim value As System.Object
value = instance.InsertCosmeticWeldBead2(WeldMode, WeldFromFaceOrEdgeSet, WeldToFaceOrEdgeSet, WeldSize)
System.object InsertCosmeticWeldBead2( 
   System.int WeldMode,
   System.object WeldFromFaceOrEdgeSet,
   System.object WeldToFaceOrEdgeSet,
   System.double WeldSize
System.Object^ InsertCosmeticWeldBead2( 
&   System.int WeldMode,
&   System.Object^ WeldFromFaceOrEdgeSet,
&   System.Object^ WeldToFaceOrEdgeSet,
&   System.double WeldSize


Weld mode as defined inswCosmeticWeldBeadMode_e
Array of weld-from entities (see Remarks)

Array of weld-to entities or Nothing or null (see Remarks)

Size of weld bead

Return Value

Array of weld bead features



WeldMode Selected entities Selection marks
swCosmeticWeldBeadMode_e.swCosmeticWeldBeadMode_WeldGeometry Either faces or edges as weld-from and weld-to entities

NOTE: Both weld-to and weld-from entities must all be the same type of entities; e.g., all faces or all edges.
  • 4 for each weld-from entity in WeldFromFaceOrEdgeSet
  • 8 for each weld-to entity in WeldToFaceOrEdgeSet

Edges, sketches, or a combination of edges and sketches are selected as weld-from entities

  • 0 for each weld-from entity in WeldFromFaceOrEdgeSet
  • Nothing or null for WeldToFaceOrEdgeSet

See Also


SOLIDWORKS 2015 FCS, Revision Number 23.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

Subject:   Feedback on Help Topics
Page:   InsertCosmeticWeldBead2 Method (IFeatureManager)
*   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:


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

Web Help Content Version: API Help (English only) 2018 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.