Hide Table of Contents
GetWeldSizingSettingUS Method (ICWEdgeWeldConnector)

Gets the American Standard settings for weld sizing calculations.

.NET Syntax

Visual Basic (Declaration) 
Function GetWeldSizingSettingUS( _
   ByRef NElectrodeMaterial As System.Integer, _
   ByRef DWeldStrength As System.Double, _
   ByRef NWeldStrengthUnit As System.Integer, _
   ByRef NSafetyFactorLiftOption As System.Integer, _
   ByRef DSafetyFactor As System.Double, _
   ByRef BIsEstimatedWeldSize As System.Boolean, _
   ByRef DEstimatedWeldSize As System.Double, _
   ByRef NEstimatedWeldSizeUnit As System.Integer _
) As System.Integer
Visual Basic (Usage) 
Dim instance As ICWEdgeWeldConnector
Dim NElectrodeMaterial As System.Integer
Dim DWeldStrength As System.Double
Dim NWeldStrengthUnit As System.Integer
Dim NSafetyFactorLiftOption As System.Integer
Dim DSafetyFactor As System.Double
Dim BIsEstimatedWeldSize As System.Boolean
Dim DEstimatedWeldSize As System.Double
Dim NEstimatedWeldSizeUnit As System.Integer
Dim value As System.Integer
 
value = instance.GetWeldSizingSettingUS(NElectrodeMaterial, DWeldStrength, NWeldStrengthUnit, NSafetyFactorLiftOption, DSafetyFactor, BIsEstimatedWeldSize, DEstimatedWeldSize, NEstimatedWeldSizeUnit)
C# 
System.int GetWeldSizingSettingUS( 
   out System.int NElectrodeMaterial,
   out System.double DWeldStrength,
   out System.int NWeldStrengthUnit,
   out System.int NSafetyFactorLiftOption,
   out System.double DSafetyFactor,
   out System.bool BIsEstimatedWeldSize,
   out System.double DEstimatedWeldSize,
   out System.int NEstimatedWeldSizeUnit
)
C++/CLI 
System.int GetWeldSizingSettingUS( 
&   [Out] System.int NElectrodeMaterial,
&   [Out] System.double DWeldStrength,
&   [Out] System.int NWeldStrengthUnit,
&   [Out] System.int NSafetyFactorLiftOption,
&   [Out] System.double DSafetyFactor,
&   [Out] System.bool BIsEstimatedWeldSize,
&   [Out] System.double DEstimatedWeldSize,
&   [Out] System.int NEstimatedWeldSizeUnit
) 

Parameters

NElectrodeMaterial
Electrode material as defined in swsElectrodeMaterialTypes_e
DWeldStrength
Ultimate shear strength of NElectrodeMaterial; if NElectrodeMaterial is swsElectrodeMaterialTypes_e.swsElectrodeMaterialCustomAl or swsElectrodeMaterialTypes_e.swsElectrodeMaterialCustomSteel, ultimate shear strength for the weld throat
NWeldStrengthUnit
DWeldStrength units as defined in swsWeldStrengthUnits_e
NSafetyFactorLiftOption
Lift safety factor by which to reduce DWeldStrength as defined in swsEdgeWeldConnectorSafetyFactorLiftOption_e
DSafetyFactor
Custom safety factor by which to reduce DWeldStrength; overrides the lift safety factor specified in NSafetyFactorLiftOption
BIsEstimatedWeldSize
True to calculate the appropriate size for the weld connector and compare it to DEstimatedWeldSize in the Weld Check Plot; false to just use DEstimatedWeldSize
DEstimatedWeldSize
Estimated weld size
NEstimatedWeldSizeUnit
DEstimatedWeldSize units as defined in swsEstimatedWeldSizeUnits_e

Return Value

Error code as defined in swsWeldResultErrorCode_e

Example

See the ICWEdgeWeldConnector examples.

Remarks

This method is valid only if ICWEdgeWeldConnector::GetCodeType returns swsEdgeWeldSolverCode_e.swsEdgeWeldSolverCodeAWS.
 

See Also

Availability

SOLIDWORKS Simulation API 2015 SP0


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:   GetWeldSizingSettingUS Method (ICWEdgeWeldConnector)
*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) 2017 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.