Our webservice offers users the opportunity to communicate with RFEM 6 and RSTAB 9 using various programming languages. Dlubal's high-level functions (HLFs) allow you to expand and simplify the WebService's functionality. In line with RFEM 6 and RSTAB 9, using our WebService makes the engineer's work easier and faster. Check it out now! This tutorial shows you how to use the C# library by means of a simple example.
The recently introduced Webservices gives users the ability to communicate with RFEM 6 using their programming language of choice. This feature is enhanced with our High Level Functions (HLF) Library. The libraries are available for Python, JavaScript, and C#. This article looks at a practical use case of programming a 2D Truss Generator with Python. "Learning by doing," as the saying goes.
Webservice is a communication between machines and programs. This communication is provided via the network and can, therefore, be used by any program that can send and receive strings via the HTTP protocol. RFEM 6 and RSTAB 9 provide an interface based on these cross-platform webservices. This tutorial shows the basics using the VBA programming language.
RFEM, RSTAB, and SHAPE-THIN are localized in eleven languages. All languages are available at no extra charge. The language of the program interface can be defined in the menu "Options" → "Program Options".
The first part of the post about the COM interface describes opening and closing RFEM. VBA programming language is used in Excel; however, the program sequence is the same as for programming with C#. First, it is necessary to add the corresponding reference in VBA to recognize the commands for the interface. The image on the left shows an example of RFEM 5.