We provide hints and tips to help you get started with the basic program RFEM.
Home Support & Learning Learning Videos FAQ 004622 | How can I enter or read out a response spectrum via the COM interface in DYNAM Pro?
FAQ 004622 | How can I enter or read out a response spectrum via the COM interface in DYNAM Pro?
Video
First Steps with RFEM
Question
How can I enter or read out a response spectrum via the COM interface in DYNAM Pro?Answer
The COM interface allows you to read out or create a user-defined response spectrum in RFEM and RSTAB.
For the conversion, it is necessary to get the interface to the module (IDynamModule) via the interface to the RFEM model (IModel). This interface is then used to create the module case (IModuleCase). IModuleCase includes the GetRSParams function, which can be used to read out the parameters for the response spectrum. On the other hand, the SetRSParams function can write new data. The following example code clarifies it:
Dim iApp As RFEM5.ApplicationDim iMod As RFEM5.modelSet iApp = GetObject(, "RFEM5.Application")
Dim rs_no As Integerrs_no = 1
On Error GoTo e
' Checks RS-COM license and locks the application for using by COM. iApp.LockLicense
Set iMod = iApp.GetActiveModel
' get module interface Dim iDyn As IDynamModule Set iDyn = iMod.GetModule("DynamPro")
' get module case interface Dim iDynCase As IModuleCase Set iDynCase = iDyn.GetData ' set response spectra parameters Dim rspara As RSParams rspara = iDynCase.GetRSParams(rs_no) Dim rs_spec(0 To 10) As RSTableRow Dim index As Integer index = 0 rs_spec(index).s = 0.6 rs_spec(index).T = 0 index = 1 rs_spec(index).s = 1.33 rs_spec(index).T = 0.153 index = 2 rs_spec(index).s = 1.33 rs_spec(index).T = 0.4 index = 3 rs_spec(index).s = 1.204 rs_spec(index).T = 0.443 index = 4 rs_spec(index).s = 1.07 rs_spec(index).T = 0.5 index = 5 rs_spec(index).s = 0.7 rs_spec(index).T = 0.761 index = 6 rs_spec(index).s = 0.508 rs_spec(index).T = 1.051 index = 7 rs_spec(index).s = 0.367 rs_spec(index).T = 1.453 index = 8 rs_spec(index).s = 0.267 rs_spec(index).T = 1.995 index = 9 rs_spec(index).s = 0.16 rs_spec(index).T = 2.584 index = 10 rs_spec(index).s = 0.16 rs_spec(index).T = 5
rspara.UserDefinedTable = rs_spec rspara.Comment = "test rs" rspara.DefinitionType = ResponseSpectraType.UserDefinedRS rspara.description = "test rs via COM" rspara.Number = rs_no iDynCase.SetRSParams rs_no, rspara e: If Err.Number <> 0 Then MsgBox Err.description, , Err.Source iMod.GetApplication.UnlockLicense Set iMod = Nothing Set iApp = Nothing
The response spectrum was created according to EN 1998‑1:2010 and has 11 points. First, an array of the RSTableRow type with 11 elements was created, filled with data, and then saved under the UserDefinedTable property. The transfer is carried out using the SetRSParams command.
Keywords
Dlubal FAQ Response spectrum COM RSParams RSTableRow DynamPro Frequently Asked Question FAQ about Dlubal Question and Answer about Dlubal
Links
Contact us
Do you have any questions about our products or need advice on selecting the products needed for your projects?
Contact us via our free e-mail, chat, or forum support or find various suggested solutions and useful tips on our FAQ page.
Recommended Events
Eurocode 5 | Timber structures according to EN 1995-1-1
Online Training 03/17/2021 8:30 AM - 12:30 PM CET
Eurocode 3 | Steel structures according to DIN EN 1993-1-1
Online Training 03/18/2021 8:30 AM - 12:30 PM CET
Eurocode 3 | Steel structures according to DIN EN 1993-1-1
Online Training 05/06/2021 8:30 AM - 12:30 PM
Eurocode 2 | Concrete structures according to DIN EN 1992-1-1
Online Training 05/11/2021 8:30 AM - 12:30 PM
Eurocode 5 | Timber structures according to DIN EN 1995-1-1
Online Training 05/20/2021 8:30 AM - 12:30 PM
RFEM | Structural dynamics and earthquake design according to EC 8
Online Training 06/02/2021 8:30 AM - 12:30 PM
Videos
KB 000674 | Defining Mandrel Diameter for Foundation Reinforcement in RF-/FOUNDATION Pro
Length 0:36 min
KB000610 | Automatically Dimensioning the Foundation Slab Geometry with RF-/FOUNDATION Pro
Length 0:40 min
KB 000585 | Calculation of warping springs for consideration in lateral -torsional buckling analy...
Length 1:30 min
KB 000605 | Setting the Concrete Cover in RF-/FOUNDATION Pro According to EN 1992-1-1
Length 0:32 min
KB 000655 | Longitudinal reinforcement to be applied for the shear force design according to EN 1...
Length 0:34 min
Models to Download
Knowledge Base Articles
New
In RFEM 5 and RSTAB 8, it is possible to assign nonlinearities to member end releases. In addition to the nonlinearities ‘Fixed if’ and ‘Partial activity’, you can also select ‘Diagram’. If you select the ‘Diagram’ option, you have to specify the according settings for the activity of the member end release. For the individual definition points, it is necessary to specify the abscissa and ordinate values (deformations or rotations and the according internal forces) that define the release.Screenshots
Product Features Articles

Material Model Orthotropic Masonry 2D
The material model Orthotropic Masonry 2D is an elastoplastic model that additionally allows softening of the material, which can be different in the local x- and y-direction of a surface. The material model is suitable for (unreinforced) masonry walls with in-plane loads.
Frequently Asked Questions (FAQ)
- How can I enter or read out a response spectrum via the COM interface in DYNAM Pro?
- How can I create a curved or curved section?
-
How can I perform the stability analysis for an edgewise supported flat steel, for example 100/5, in RF-/STEEL EC3?
Although the cross-section is rotated by 90 ° in RFEM/RSTAB, it is displayed lying flat in RF-/STEEL EC3. - How are the signs to be interpreted for the releases, results of line releases and line hinges?
- How is the rotational stiffness of a buckling stiffener determined in FE-BUCKLING?
- How are hot -dip galvanized components considered for fire protection in the Steel EC 3 add -on module?
- Is it possible to manually specify a longitudinal reinforcement for the design in RF-PUNCH Pro?
- After the design with RF-/TIMBER Pro, I had a cross-section optimized. Why is the utilization of the optimized cross -section now exceeded?
- Is it possible to design the support pressure or the sleeper pressure in RX-TIMBER?
- Can I simulate the cracked state of a concrete cross -section for a bending beam with the "Isotropic Nonlinear Elastic 1D" material model?
Customer Projects