Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:simulation:benutzerdefinierte_funktionen:bearbeiten_benutzerdefinierter_funktionen [2025/05/13 10:02] – angelegt deppe2 | en:simulation:benutzerdefinierte_funktionen:bearbeiten_benutzerdefinierter_funktionen [2025/12/06 12:55] (aktuell) – deppe2 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Manage a User-defined Function ====== | ====== Manage a User-defined Function ====== | ||
| + | |||
| + | ===== Manage a User-defined Function ===== | ||
| + | |||
| + | **Path:** Main menu: Simulation > User-defined functions...\\ | ||
| + | {{: | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | By choosing **Simulation, | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | **Figure:** User-defined functions manager | ||
| + | |||
| + | At the top a name for this function and a unit for the return value of the function have to be defined. Once a name is defined it can not be changed in subsequent editing steps. | ||
| + | |||
| + | The middle part of the dialog contains a text field for defining the function. The text in this field is syntax highlighted according to the syntax of user defined functions, for example keywords are colored blue. More to the syntax of user defined functions can be found in the section Define a User-defined Function. | ||
| + | |||
| + | In the lower part, pre-defined variables can be easily chosen and inserted in the text of the user defined function. There are about 150 predefined variables such as calculation results, geometrical data, materials and process parameters that can be used in user defined functions. | ||
| + | |||
| + | By clicking **Ok**, the given function is tested in view of the syntactical correctness. If there are syntactic errors, these errors will be displayed and the position in the text field will be marked accordingly. | ||
| + | |||
| + | |||