FISH is a powerful scripting language that can be used to manipulate model components, parameterize models, control model runs, create/calculate new model outputs, monitor results, and post-process model runs. Many new capabilities and tools have been added to UDEC to facilitate working with FISH.
As with the commands, FISH scripting has also been improved to make function syntax clearer, more consistent, intuitive, and, therefore, easier to use. The syntax uses a structured reference for objects to assign properties or invoke functions and is similar to modern languages such as C++ and Visual Basic. For example, below you can see an example of the same FISH function in UDEC 6 (left) and in UDEC 7 (right). The UDEC 7 version was created using the built-in conversion tool under the UDEC 7 Edit menu.
The FISH Global Symbols control set displays and updates (including while cycling) the value/state of all global FISH variables and functions. Display is read-only. The tabular display (shown below) lists the symbol name, its current value, its type, and whether it is a function and its number of arguments (F(#)). A right-click on an item in the Name or Value column allows copying the cell data to the Windows clipboard.
In addition to the previous data types (integer, floating-point, string, and pointers), FISH variables now include several new data types:
New and expanded data type functions have also been added (e.g., built-in functions to inverse or multiply matrices).
Get one of the metrics of the zone shape (0 - 1, where 1 is ideal) for quality check (ratio of the inscribed radius to the circumscribed radius, minimum ratio of the distance of vertex to the opposing edge divided by the length of the opposing edge length, and ratio of the shortest edge length divided by the longest edge length).
Compose and send email messages using data files and FISH functions (e.g., send notification emails upon completion of notable tasks, include file attachments such as exported bitmaps to see your results).
Email account settings provided with this command may also be specified in the “Email” section of the “Tools/Options” dialog.