The following VBA macro shows the creation of a nodal support with a nonlinearity diagram. The source code can be found under Downloads.
Question
How can I create a nodal support with a nonlinearity diagram via the COM interface?
- Reading and writing access to structural data, load case data, load and result combinations, and calculation results
- External control of calculation
- Possibility to open and edit available models or to create new models
- Access to all results such as deformations, internal forces, and support reactions
- Ability to intercept possible errors using error messages
- Access to control elements as well as results of the following programs:
- RF-/STEEL
- RF-STEEL EC3
- RF-/ALUMINUM
- RF-/CONCRETE
- RF-STABILITY
- RX-TIMBER Glued-Laminated Beam
- RF-TIMBER Pro
- RF-/DYNAM Pro
- SUPER-RC
- Structure generator for typical geometries with loading and combinations
- Importing and exporting data from spreadsheet programs such as MS Excel and MS Access
- Connection to various programs compatible with COM, for example, B. CAD systems
- Customized pre- and postprocessing modules
- Processing and results of data in user-defined formats
Using RF‑COM/RS‑COM, it is possible to create RFEM/RSTAB models and write data. The same applies to load cases, load combinations, and result combinations.
RF-COM/RS‑COM consists of an instruction set that can be embedded in common programming languages, such as Visual Basic, Visual Basic for Applications (VBA), Visual C++ (also .NET). The instruction set includes objects and methods that allow access to the RFEM/RSTAB data.
To be able to use RF-COM/RS‑COM, you only need an editor, a compiler, and basic programming knowledge. The supplied object library is easy to integrate into the editor. For example, in the case of Microsoft Excel, you have everything you need as a VBA editor included in this software.
The RF-COM/RS‑COM interface requires valid licenses for RF‑COM/RS‑COM, as well as for RFEM/RSTAB and the respective add‑on modules whose data is to be used.