FEMtools Script and API
Most mature and powerful applications today provide some level of scripting. This is because no matter how much functionality an application provides, and no matter how many options, there are always situations where users find themselves constrained by what developers chose to include. It can be very expensive to extend an application's functionality between releases, and to provide bug fixes and customization in fast and flexible manner.
Scripting allows users to create their own solutions and customizations based on the core functionality provided by the application.
What is FEMtools Script?
FEMtools Script is a rapid scripting language that is a standard part of FEMtools Framework and was first introduced in version 2.0. Its main purpose is to provide a means to customize or extend the software. Using FEMtools Script, a user can write a script to do just about any imaginable task.
At the heart of FEMtools Script is MathBasic, a proprietary scripting engine developed by Dynamic Design Solutions. The language syntax is derived from the Basic programming language, so a user does not need to learn another programming language than he probably already knows. MathBasic provides extensions of the Basic programming language to make it more suitable for mathematical programming.
The FEMtools API is a library of functions that can be used from a script written in FEMtools Script to access the FEMtools database (FEA data, test data) or pilot external CAE or test tools.
Together with the support for math programming provided by FEMtools Script this provides all the tools to develop entire applications on top of the FEMtools environment. New ideas or specific needs can be quickly translated into working scripts. You will be writing and running scripts within hours.
Advantages of using FEMtools Script
FEMtools Script and the API provide all the power that one needs to develop entire applications on top of the FEMtools environment. With functions that provide access to the FEMtools internal database, support for math programming, and reusing components like data interfaces, graphics viewer, solvers etc, a script programmer can very quickly translate his ideas into working scripts.
Further advantages of using FEMtools Script are:
FEMtools Script is an extension of the Basic programming language to make it more suitable for mathematical programming. It is a lighter language than Visual Basic because only functions are included that are useful for development of FEMtools related applications. This eliminates all unnecessary overhead. Furthermore, script programs run as compiled byte-code for faster execution.
In addition to standard math functions found in most Basic implementation, FEMtools Script provides the following
For developing, running and debugging script programs, FEMtools includes an integrated script editor with color coding.
FEMtools Script is available on all platforms on which FEMtools is supported. Currently this includes several Unix OS and the 32-bit and 64-bit flavors of Windows. Applications written in FEMtools Script are platform-independent and require a FEMtools 2.0 (or later) license to run the scripts.
Although the possibilities are endless, some typical applications of FEMtools Script are in development of:
Some Examples of Script-Based Applications
Examples of current FEMtools tools that were developed using FEMtools Script are:
© 2013 Dynamic Design Solutions (DDS) NV. All Rights Reserved.