Home Page

Help Index

<<Previous

Next>>

Calculated Values

Choose General->Models->Add / Change / Delete.

Type model code 2011 and press OK.

You are now in the model window. Choose the menu option Item->Add Piece.

The mouse pointer has changed to + (crosshairs) and on the window title you can read: INDICATE BEGINNING POINT OF NEW PIECE.

Click with the left mouse button on 3-G.

A small red point has appeared there and on the window title you can read:

INDICATE END OF LINE.

Click with the right mouse button on 3-C.

Click with the right mouse button on 15-C.

Click with the RIGHT mouse button on 15-G.

Click with the right mouse button on 9-G.

Click with the LEFT mouse button on 3-I.

Press Esc.

The mouse pointer has changed to its original shape.

The piece you have just drawn is in red, and on the window caption you can read:

DRAWING MODE, Working with ITEM: Piece[1]

Press F2 or choose Drawing->Toggle: WORK with ITEM / MEMBER / VALUE until "VALUE" is included in the window caption.

Now we are in the value setting; only the value representing the length of the last member is in red. If that's not the case select it by clicking on it. On the window caption you can read:

DRAWING MODE, Working with VALUE: Length[1:5L]

Suppose that in this model the length of the third member is always equal to the length of the first member, so we are going to make it a calculated field so that it is not necessary to fill it when entering orders.

The first thing we must do is to know the symbol of the first member length. In this case it is very easy: [1:1L], but suppose it is a complex model and you don't know it. To discover its symbol just select the value. As you know from the chapter Members and Values, this is done by clicking on the value:

Click on 3-E

Now only the value representing the length of the first member is in red, and on the window caption you can read:

DRAWING MODE, Working with VALUE: Length[1:1L]

So the you know the symbol of the first member length is [1:1L]

Select the value representing the length of the third member:

Click on 15-E

Now only the value representing the length of the third member is in red, and on the window caption you can read:

DRAWING MODE, Working with VALUE: Length[1:3L]

Choose Drawing->Change Properties of Current Item/Member/Value or press Enter.

Now you see a window with the properties of this value. On its top left corner you can read: Length [1:3L].

Choose NoEdit for the Edit field.

In the field Calculated field type: [1:1L]

Press OK.

Suppose also that the length of the fourth member is always half the length of the second member, so we are going to make it a calculated field:

Select the value representing the length of the fourth member:

Click on 12-G

Now only the value representing the length of the fourth member is in red, and on the window caption you can read:

DRAWING MODE, Working with VALUE: Length[1:4L]

Choose Drawing->Change Properties of Current Item/Member/Value or press Enter.

Now you see a window with the properties of this value. On its top left corner you can read: Length [1:4L].

Choose NoEdit for the Edit field.

In the field Calculated field type: [1:2L] / 2

Press OK.

When defining the calculated value you can use the four arithmetic operators ( +, -, *, / ). You can also use parentheses ( ).

Choose File->Exit.

Answer Yes to the question: ¿ Do you want to save the model ?

Test this model by using it in an order.

It's also possible in a calculated value to choose Edit for the Edit field, instead of NoEdit. This can be useful if you are not sure whether the calculation will always give the right result and want to be able to change it. In this case the value is only calculated when it is empty or the user is about to edit it. If you want to try it, change the model to set the length of the third member to Edit. Then test it using an order. When you inform the first length and the third length is empty, the third length will be informed with the same value as the first length, because its expression is [1:1L]. If you inform the first length and the third length isn't empty, the program will wait until you reach the third length to calculate it from the first. As a consequence if you choose Edit instead of NoEdit, YOU MUST MAKE SURE THAT THE CALCULATED VALUE IS EDITED AFTER THE VALUE(S) FROM WHICH IT IS CALCULATED, else it will only be calculated if it is empty or the user selects it with the mouse to edit it. For instance, in this case the third bending length is edited after the first bending length. You can change the default edit sequence, as explained in chapter Value Edit Sequence

You will learn more about calculated values in chapter Trigonometric Relations

You can learn more about calculated values by having a look at the calculated values in the initial collection of models. When you are entering an order and use models like 3, 4, 5, 6... and many others, you will see that some values are calculated from others. You can choose General->Models->Add / Change / Delete, type one of these models and take a look at how these calculations have been defined. To understand them better, please read the chapter about trigonometric relations first.

How the program rounds the result of calculations depends on the project. When you create a new project, you choose which of the three measuring system you are going to use in this project, and the format and rounding information are taken from the Measuring System setup, and will be kept throughout the duration of the project. Changes of format or rounding in the measuring system setup will only affect new projects which choose this Measuring System.

For instance in project 1, the sample imperial project, rounding is setup to 1/4". If you would like rounding to be 1", 1/2", 1/8", 1/16" or 1/32" instead, you must change the Imperial Measuring System setup at General->Measuring Units, Weights and Bending Gains and then create a new project in which you choose the imperial system. When you enter orders in the new project you will see that this new rounding setting is used, whereas it is not taken into account if you enter orders in the old project 1.

Please read the chapter "Measuring Systems: Imperial, SoftMetric and European Metric" for more information.

Home Page

Help Index

<<Previous

Next>>