Sets the American Standard settings for weld sizing calculations.
.NET Syntax
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.SetWeldSizingSettingUS(NElectrodeMaterial, DWeldStrength, NWeldStrengthUnit, NSafetyFactorLiftOption, DSafetyFactor, BIsEstimatedWeldSize, DEstimatedWeldSize, 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
Remarks
See Also
Availability
SOLIDWORKS Simulation API 2015 SP0