Hide Table of Contents
SetText Method (IWeldSymbol)

Sets the text and symbols in the upper or lower portion of the weld symbol.

.NET Syntax

Visual Basic (Declaration) 
Function SetText( _
   ByVal Top As System.Boolean, _
   ByVal Left As System.String, _
   ByVal Symbol As System.String, _
   ByVal Right As System.String, _
   ByVal Stagger As System.String, _
   ByVal Contour As System.Integer _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IWeldSymbol
Dim Top As System.Boolean
Dim Left As System.String
Dim Symbol As System.String
Dim Right As System.String
Dim Stagger As System.String
Dim Contour As System.Integer
Dim value As System.Boolean
 
value = instance.SetText(Top, Left, Symbol, Right, Stagger, Contour)
C# 
System.bool SetText( 
   System.bool Top,
   System.string Left,
   System.string Symbol,
   System.string Right,
   System.string Stagger,
   System.int Contour
)
C++/CLI 
System.bool SetText( 
&   System.bool Top,
&   System.String^ Left,
&   System.String^ Symbol,
&   System.String^ Right,
&   System.String^ Stagger,
&   System.int Contour
) 

Parameters

Top

True to set the text in the portion of the symbol above the horizontal line, false to set the text in the portion of the symbol below the horizontal line

Left

Text to the left of the weld symbol

Symbol

Text representing the weld symbol (see Remarks)

Right

Text to the right of the weld symbol

Stagger

Text to the right of the stagger symbol (see Remarks)

Contour
Contour setting as defined in swWeldSymbolContourTypes_e (see Remarks)

Return Value

True if the text and symbols are set, false if not

Example

See the IWeldSymbol examples.

Remarks

To get the individual pieces of text for a weld symbol, use IWeldSymbol::GetText. To get the contour setting for a weld symbol, use IWeldSymbol::GetContour.

The stagger text that is specified is only visible if this option is enabled. See IWeldSymbol::GetStagger to see the current setting and IWeldSymbol::SetStagger to enable or disable that option.

A list of weld symbol names can be found in the text file gtol.sym,, typically installed at C:\ProgramData\SolidWorks\SolidWorks 20nn\lang\english. Specify Symbol with one of the currently supported ISO weld symbols:

  • BUTT

  • BUSQ

  • BUSV

  • BUSB

  • BUSVBR

  • BUSBR

  • BUSU

  • BUSJ

  • BACK

  • FILL

  • PLUG

  • SPOT

  • SEAM

  • SEAMC

  • JSPT

  • JSM

 

See Also

Availability

SOLIDWORKS 99, datecode 1999207


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:   SetText Method (IWeldSymbol)
*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) 2019 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.