Diese Seite ist nicht editierbar. Sie können den Quelltext sehen, jedoch nicht verändern. Kontaktieren Sie den Administrator, wenn Sie glauben, dass hier ein Fehler vorliegt. ====== Manage a User-defined Function ====== ===== Manage a User-defined Function ===== **Path:** Main menu: Simulation > User-defined functions...\\ {{:simulation:benutzerdefinierte_funktionen:iconcalculateuser-simulation.ico?nolink&60x60 |}} \\ \\ \\ By choosing **Simulation, User-defined functions** a dialog for managing user defined functions opens. Here a user can create, edit and delete existing user defined functions. {{ :en:simulation:benutzerdefinierte_funktionen:en_sigma150_dlg_simulation_015.png?nolink |}} **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.