Applies To | |
Product(s): | AutoPLANT Modeler | AutoPLANT Piping |
Version(s): | 08.11.XX.XXX |
Environment: | Windows 7/8.1/10 (64-bit) |
Area: | Customization - AutoPLANT Modeler |
Subarea: | |
Original Author: | Dinesh Solanki, Bentley Product Advantage Group |
This article will explain how you can change the weld size as per your requirement. By default the weld size for metric project is 10.
'status = at_Preference_getString (useWeld, "Use_Weld_Size")
'If ((status = AT_SUCCESS) And (strComp (useWeld, "1", 1) = 0)) Then
status = at_Preference_getString (cWeldSize, "Weld_Size")
If ((status = AT_SUCCESS)) Then
If (CDbl (Val(cWeldSize)) > 0.0) Then
weldSize = CDbl (Val(cWeldSize))
GoTo skipdef
End If
End If
'End If
'JRO/TSG 19 June 2015
Weldsize=15
'// Weldsize=12
Dim UNITAT As String
Dim unita As Double
status = at_Preference_getString(UNITAT, "UNITS_TYPE")
unita = CDbl (Val(UNITAT))
If unita=1 Then
weldsize=(weldsize/25.4)
End If
'END JRO 19 June 2015
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!