> InsertWeldSymbol Method (IDrawingDoc)
Welcome
Getting Started
SolidWorks API Help
FeatureWorks API Help
SolidWorks Document Manager API Help
eDrawings API Help
SolidWorks Routing API Help
SolidWorks Simulation API Help
SolidWorks Utilities API Help
SolidWorks Workgroup PDM API Help
Hide Table of Contents Show Table of Contents
InsertWeldSymbol Method (IDrawingDoc)

Creates a weld symbol located at the last edge selection.

.NET Syntax

Visual Basic (Declaration) 
Sub InsertWeldSymbol( _
   ByVal Dim1 As String, _
   ByVal Symbol As String, _
   ByVal Dim2 As String, _
   ByVal Symmetric As Boolean, _
   ByVal FieldWeld As Boolean, _
   ByVal ShowOtherSide As Boolean, _
   ByVal DashOnTop As Boolean, _
   ByVal Peripheral As Boolean, _
   ByVal HasProcess As Boolean, _
   ByVal ProcessValue As String _
) 
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim Dim1 As String
Dim Symbol As String
Dim Dim2 As String
Dim Symmetric As Boolean
Dim FieldWeld As Boolean
Dim ShowOtherSide As Boolean
Dim DashOnTop As Boolean
Dim Peripheral As Boolean
Dim HasProcess As Boolean
Dim ProcessValue As String
 
instance.InsertWeldSymbol(Dim1, Symbol, Dim2, Symmetric, FieldWeld, ShowOtherSide, DashOnTop, Peripheral, HasProcess, ProcessValue)
C# 
void InsertWeldSymbol( 
   string Dim1,
   string Symbol,
   string Dim2,
   bool Symmetric,
   bool FieldWeld,
   bool ShowOtherSide,
   bool DashOnTop,
   bool Peripheral,
   bool HasProcess,
   string ProcessValue
)
C++/CLI 
void InsertWeldSymbol( 
&   String^ Dim1,
&   String^ Symbol,
&   String^ Dim2,
&   bool Symmetric,
&   bool FieldWeld,
&   bool ShowOtherSide,
&   bool DashOnTop,
&   bool Peripheral,
&   bool HasProcess,
&   String^ ProcessValue
) 

Parameters

Dim1

First text value to the left of the symbol

Symbol

Weld symbol name (see Remarks)

Dim2

Text value to the right of the symbol

Symmetric

True puts the symbol above and below the horizontal line

FieldWeld

True puts a flag for field welding

ShowOtherSide

True puts Dim1, Symbol, and Dim2 on the other side of the horizontal line

DashOnTop

True puts the dash line on top

Peripheral

True puts a peripheral symbol

HasProcess

True uses ProcessValue

ProcessValue

Process value if HasProcess is set to True

Remarks

The symbol argument specifies the weld symbol name. You can find a list of names in the text file gtol.sym, which is located in the SolidWorks default installation folder <installation_dir>\lang\english.

The syntax for the symbol argument is <Standard-Type>. For example, a JIS seam is <JWELD-JSM>, and an ISO seam is <WELD-JSM>. You must include the right- and left-angle brackets and separate the Standard and the Type with a hyphen.

 

See Also



Related SolidWorks Forum Content

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:   InsertWeldSymbol Method (IDrawingDoc)
*Comment:  
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) 2012 SP05

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document API Help (English only) 2012 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.