Home Search

DriveWorks Pro 22
Drawing Rules Annotation Surface Finish Symbol

Send Feedback

Drawing Rules Annotation Surface Finish Symbol

A surface finish symbol rule consists of separate functions to control individual elements of the surface finish symbol.

The functions can be used individually, to control just that element of the SF Symbol, or together to control the whole of the SF Symbol.

When used together the functions are separated using the pipe bar |.

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.

Syntax to set the Symbol

"SETSYMBOL( [SymbolIndexNumber] , [SurfaceTextureIndexNumber] , [AllAround] )"

Where

SymbolIndexNumber is the index number of the required symbol (see chart below)

SurfaceTextureIndexNumber is the index number of the required texture symbol (see chart below)

AllAround is either True or False (see chart below)

Surface Finish SymbolSymbol Index NumberSurface Texture SymbolSurface Texture Index NumberAll AroundAll Around Value
0n/a0False
0n/a0True
1n/a0False
1n/a0True
2n/a0False
2n/a0True
3n/a0n/aFalse
4n/a0n/aFalse
5n/a0n/aFalse
6n/a0n/aFalse
7n/a0n/aFalse
8n/a3n/aFalse
93n/aFalse
94n/aFalse
95n/aFalse
96n/aFalse

SetSymbol Examples

RuleMeaning
"SetSymbol (2,0,True)"Results in the Machining Prohibited, All Around symbol being used
"SetSymbol(" & DWVariableSymbolIndexNumber & "," & DWVariableTextureIndexNumber & "," & "False)"Results in Machining Prohibited, Local symbol being used, when the results of the variables used are 2 and 0 respectively
"SetSymbol(" & DWVariableSFString & ")"Results in Machining Prohibited, Local symbol being used, when the result of the variable, DWVariableSFString, is the string ,2,0,False

Syntax to set Values

"SETTEXT( [PositionIndexNumber] , [Text] )"

Where

PositionIndexNumber is the index number for the required position of the value to display (see chart below).

Text is the value to display.

Standard

JIS

JIS Basic/
JIS Machininig Prohibited

Description

Position Index Number

Material Removal Allowance

1

Production Method

2

Sampling Length

3

Other Roughness Value

4

Maximum Roughness

Roughness Rz/Rmax

5

Minimum Roughness

Roughness Ra

6

Roughness Spacing

7

SetText Examples

RuleMeaning
SetText(5,6.3)|SetText(6,1.6)"Sets the Rmax value to be 6.3 and the Ra value to be 1.6
"SetText(5," & DWVariableRmax& ")|SetText (6," & DWVariableRa & ")"Sets the Rmax value to be the result of the variable DWVariableRmax, and the Ra value to be the result of the variable DWVariableRa

Syntax to set the Symbol AND Values

"SETSYMBOL( [SymbolIndexNumber] , [SurfaceTextureIndexNumber] , [AllAround] ) | SETTEXT( [PositionIndexNumber] , [Text] , )"

RuleMeaning
"SetSymbol(" & DWVariableSFString & ")|SetText(5," & DWVariableRmax &")|SetText(6," & DWVariableRa & ")"Results in Machining Required, Local symbol being used, when the result of the variable, DWVariableSFString, is the string ,1,0,False. Also sets the Rmax value to be the result of the variable DWVariableRmax, and the Ra value to be the result of the variable DWVariableRa