The weld symbol rule consists of separate functions to control individual elements of a weld symbol.
The functions can be used on their own or by using the pipebar | to combine them.
The syntax used to drive the various Drawing Annotations (SETTEXT, SETSYMBOL, SETFRAMEVALUES, SETLABEL, etc.) are not typical DriveWorks functions.
They will not display the same characteristics as a function (Auto-complete, Bracket Matching or Rules Insight) when entered in the Rule Editor.
These are strings, and are required to be enclosed within quotes ("").
During the processing of these rules, DriveWorks will parse the string and apply the result to the captured annotation.
"SETTEXT( [Top] , [Left] , [SymbolName] , [Right] , [Stagger] , [ContourIndexNumber] )"
Top is True to place the Weld information above the horizontal line. False to place it below the line.
Left is the value to display to the left of the weld symbol
SymbolName is the name of the symbol to use (see chart below)
Right is the value to display to the right of the weld symbol
Stagger is the value to display to the right of the stagger
ContourIndexNumber is the index number of the contour to display (see chart below)
The format is required to be given as a string value, see examples below.
|Description||Symbol Name (ISO)||Symbol Name (GOST)||Symbol Name (ANSI)||Symbol Name (JIS)|
|Single V Butt/V Groove||<WELD-BUSV>||<AWLD-GV>||<JWELD-BUSV>|
|Single Bevel Butt/Bevel||<WELD-BUSB>||<AWLD-GBVL>||<JWELD-BUSB>|
|Single V Butt with Root||<WELD-BUSVBR>||<JWELD-BUSVBR>|
|Single Bevel Butt with Root||<WELD-BUSBR>||<JWELD-BUSBR>|
|Single U Butt/U Groove||<WELD-BUSU>||<AWLD-GU>||<JWELD-BUSU>|
|Single J Butt/J Groove||<WELD-BUSJ>||<AWLD-GJ>||<JWELD-BUSJ>|
|Backing Run/Back Fill||<WELD-BACK>||<AWLD-NBACK>||<JWELD-BACK>|
|Contour||Contour Index Number|
|"SetText(True , 5 , <WELD-BUSV> , , , 3 )"||Sets the weld information above the horizontal line, a value of 5 placed to the left of the symbol, uses the Single V Butt symbol and has a convex contour.|
|"SetText(False," & DWVariableWeldSize & "," & DWVariableWeldSymbol & ", , 2 )"||Sets the weld information below the horizontal line, a value calculated by the variable DWVariableWeldSize placed to the left of the symbol, uses the symbol calculated by the variable DWVariableWeldSymbol and has a flat contour.|
"SETSYMMETRIC( [Symmetric] )"
Symmetric is the index number for the symmetric value (see chart below)
|Symbol is symmetric about the symbol line||1|
|Symbol not symmetric and the dashed identification line above symbol line||2|
|Symbol not symmetric and the dashed identification line below symbol line||3|
|"SetSymmetric (2)"||Sets the symbol to one side of the symbol line and the dashed identification line above.|
|"SetSymmetric (" & DWVariableSymmetric & ")"||Sets the symbol and the dashed identification line to a value calculated by variable DWVariableSymmetric.|
"SETSTAGGER( [Stagger] )"
Stagger is True for a staggered weld, False if not.
|"SetStagger(True)"||Includes the stagger symbol in the weld symbol|
|"SetStagger(" & DWVariableStagger & ")"||Sets the stagger symbol to the value calculated by the variable DWVariableStagger|
"SETPERIPHERAL( [Peripheral] )"
Peripheral is True if weld is peripheral, False if not
|"SetPeripheral(True)"||Includes the peripheral symbol in the weld symbol|
|"SetPeripheral(" & DWVariablePeripheral & ")"||Sets the peripheral symbol to the value calculated by the variable DWVariablePeripheral|
"SETFIELDWELD( [FieldWeld] )"
FieldWeld is one of the following numbers
|2||Field Weld Up|
|3||Field Weld Down|
|"SetFieldWeld(2)"||Places the Field Weld symbol above the weld symbol reference line.|
|"SetFieldWeld(" & DWVariableFieldWeld & ")"||Places the Field Weld symbol below the weld symbol reference line when the result of the variable FieldWeld is 3.|
"SETPROCESS( [EnableProcess] , [Text] , [Reference])"
EnableProcess is TRUE to enable the process text or FALSE to disable the process text.
Text is the text to display.
Reference is TRUE to include the text within a reference box or FALSE to not include the reference box.
|"SetProcess(True , See Drg. 1234/W01 , True)"||Includes the process note "See Drg. 1234/W01" with a reference box at the tail of the weld symbol reference line.|
|"SetProcess(True , " & DWVariablePNote & ", False)"||Includes the process note with the contents of the variable PNote, without a reference box at the tail of the weld symbol reference line.|
|"SetText(True,5,<WELD-BUSV>,,,3) | SetSymmetric(2) | SetStagger(True) | SetPeripheral(True) | SetFieldWeld(2) | SetProcess(True , See Drg. 1234/W01 , True)|
Sets the weld information above the horizontal line, a value of 5 placed to the left of the symbol, uses the Single V Butt symbol and has a convex contour. Sets the symbol to one side of the symbol line and the dashed identification line above. Includes the stagger symbol in the weld symbol. Includes the peripheral symbol in the weld symbol and the Field Weld symbol above the reference line. Includes the process note "See Drg. 1234/W01" with a reference box at the tail of the weld symbol reference line.