Entering a value
Indicate the value using the following dialog:
The decimal separator used is the one defined in the regional options in Windows (accessible via Start > Settings > Control panel > Regional and Language options).
A value is validated (and moving on to next input field) via the Tabulation key. |
||
|
||
|
||
An integrated calculator allows you to enter a simple formula or parameter-based expression: |
||
|
||
See the paragraph Operators and integrated functions of the calculator for more detail. |
||
Formulas are not conserved when prefixed by the "#" sign, only their result is conserved. E.g.: Parameter h equals 10 If you enter: 15 + h or =15 + h you will get: 25 (15 + h), the formula is kept and displayed. If you enter: #15 + h you will get: 25, the formula is calculated but not kept. |
||
|
||
|
||
An input error or an incomplete formula will display an exclamation point and your input will not be validated:
|
||
Rolling the cursor over the exclamation point displays a message indicating the field containing the error.
|
||
|
||
|
||
The button displays the following drop-down menu which allows you to recover a value by selecting an item in the graphic zone or to select a parameter. |
||
|
|
|
Entered value: |
This is the default mode, the value is entered by the keyboard. |
|
Measured value: |
The value is measured by selecting an item in the graphic zone, there is no link. |
|
Associative value: |
Idem "Measured value" with a link to the selected item. |
|
|
||
|
||
The middle section of the dialog allows you to create specific "on the fly" parameters, i.e. the parameter was not created initially, but will be created from the function. The different parameters are: |
||
|
||
|
||
|
||
The last section of the dialog allows you to create a parameter "on the fly", i.e. the parameter was not created initially, but will be created from the function. The different parameters are: |
||
|
||
|
||
|
Integrated operators and functions of the calculator:
Operator |
Description |
+ |
Addition |
- |
Subtraction |
* |
Multiplication (this operator is not available between 2 variables) |
/ |
Division (this operator is not available between 2 variables) |
^ |
Exponentiation (this Operator is not available between 2 variables) |
|
|
E.g.: : 10+20/5 = 14 or (10+20)/5 = 6 |
The = is reserved to declare a text formula or a parameter. To create basic texts beginning by =, you have to enter '==' which will be interpreted as '='. If you need to begin with 2 equal, you will have to enter 3 and so on. |
Functions are not usable with variables. For example, it is possible to write abs(10), but not abs(v1), v1 is a variable. |
You can enter or not enter normalized tolerances in values, which must be between brackets. |
|
E.g.: |
50mm [H7] |
When tolerances are not normalized, tolerance values must be separated by a semicolon. |
|
E.g.: |
50mm [-0,2;0,1] |
Switching to a minimum, maximum, average or nominal value is done by clicking on the button when editing the setting or dimension and selecting the desired display type from the Tolerance sub-menu. |
You can find some examples by following this link.
Function |
Description |
Example |
length(s) |
Get the number of characters of a string s. |
N=length("TopSolid") is equal to 8 (N is an integer parameter). |
|
||
|
||
left(s;n) |
Get the n first characters of a string s. |
C=left("TopSolid";3) is equal to "Top" (C is a text parameter). |
|
|
|
|
|
|
right(s;n) |
Get the n last characters of a string s. |
C=right("TopSolid";5) is equal to "Solid" (C is a text parameter). |
|
|
|
|
|
|
mid(s;m) |
Get the last characters of a string s starting from the index m. |
C=mid("TopSolid";3) is equal to "lid" (C is a text parameter). |
|
|
|
|
|
|
mid(s;m;n) |
Get the n characters of a string s starting from the index m. |
C=mid("TopSolid";3;2) is equal to "So" (C is a text parameter). |
|
||
|
||
& |
Merge (add) of strings |
S1="TopSolid" and S2="great" are 2 text parameters. C=S1&" is "&S2 is equal to "TopSolid is great" (C is a text parameter).
|
|
|
|
|
|
|
& |
Retrieve the value of a real parameter |
L=20mm is a real parameter. C="The length is: "&L is equal to "The length is: 20mm" (C is a text parameter). |
|
|
|
|
|
|
format(v;f) |
Format the numerical value v according to the f format. Syntax :
|
C is a text parameter: C=format(0.5mm; "0.00") is equal to "0.50" C=format(0.5mm; "#.00") is equal to ".50" C=format(1.5mm; "0.00") is equal to "1.50" C=format(2.567mm; "0.00") is equal to "2.56" C=format(2.567mm; "0.##") is equal to "2.56" C=format(1.5mm; "0.##") is equal to "1.5" C=format(2.567mm, "0.##U") is equal to "2.56mm"C is a text parameter and D is the diameter of a cylinder (real) equal to 35.6mm C="Ø of the rough cylinder: " & format(ceil(D;1mm);"0") is equal to "Ø of the rough cylinder: 36" |
="mass=" &mass 1 : merge of the string "mass=" with the named parameter mass 1. ="mass="& "mass 1" : merge of 2 strings "mass=" and "mass 1" (the result is "mass=mass 1")
|