In addition to our technical support (e.g. via chat), you’ll find resources on our website that may help you with your design using Dlubal Software.
Frequently Asked Questions (FAQ)
Search FAQ
Further Information
Customer Support 24/7
-
Answer
An imperfection is considered a load and is transferred via the interface of the load case. Provided that the interface to the model has already been imported, the interface to the loads (ILoads) followed by the interface to load case 1 (ILoadCase) will subsequently be imported, if it has already been created before:
' set loadcasesDim iLoads As iLoadsSet iLoads = model.GetLoads' get load caseDim iLc1 As ILoadCaseSet iLc1 = iLoads.GetLoadCase(1, AtNo)' define imperfectionDim imperf As Imperfectionimperf.Comment = "test"imperf.Direction = LocalZTypeimperf.Inclination = 200imperf.no = 1imperf.ObjectList = 1imperf.Precamber = 300imperf.PrecamberActivity = ActivityAccording_EN_1993_1_1' set imperfectioniLc1.PrepareModificationiLc1.SetImperfection imperfiLc1.FinishModificationThe data of the imperfection is then filled out first, here for member 1, and then transferred within a Prepare-/FinishModification block of the load case Interfaces.
-
Answer
To modify an existing element, you have to get the interface to the corresponding element, shown here using a member as an example:
Dim iModel As RSTAB8.modelSet iModel = GetObject(, "RSTAB8.Model")iModel.GetApplication.LockLicenseDim iModData As IModelDataSet iModData = iModel.GetModelDataDim iMem As RSTAB8.IMemberSet iMem = iModData.GetMember(1, AtNo)Use this code to get the interface to member 1, which must already be created. Then, you can use the .GetData () method of the interface to get the member data.
If you want to modify data (such as the member rotation here), you can subsequently transfer it to the program within a Prepare-/FinishModification block with the method .SetData ().
Dim mem As RSTAB8.Membermem = iMem.GetDatamem.Rotation.Angle = 0.5mem.Rotation.Type = RSTAB8.AngleiModData.PrepareModificationiMem.SetData memiModData.FinishModification -
Answer
The following code shows how to get different calculation parameters via the COM interface. It also demonstrates how to specify a setting for deactivating shear stiffness:' get model interfaceSet iApp = iModel.GetApplication()iApp.LockLicense' get calculation interfaceDim iCalc As RFEM5.ICalculation2Set iCalc = iModel.GetCalculation' get surface bending theoryDim calc_bend As RFEM5.BendingTheoryTypecalc_bend = iCalc.GetBendingTheory' get settings for nonlinearitiesDim calc_nl As RFEM5.CalculationNonlinearitiescalc_nl = iCalc.GetNonlinearities' get precision and tolerance settingsDim calc_prec As RFEM5.PrecisionAndTolerancecalc_prec = iCalc.GetPrecisionAndTolerance' get calculation settingsDim calc_sets As RFEM5.CalculationSettingscalc_sets = iCalc.GetSettings'get calculate optionsDim calc_opts As RFEM5.CalculationOptionscalc_opts = iCalc.GetOptions' set ShearStiffness to falsecalc_opts.ShearStiffness = FalseiCalc.SetOptions calc_optsIn the annex, there is an EXCEL macro to download. -
Answer
Friction represents a non-linearity and can therefore only be modified via the interface to the member end release hinge.
For this purpose, the member end release must be created first, if not already available. Then, the IMemberHinge interface is brought to the member end release and then to the non-linearity (here IFriction). Then, you can use the methods GetData and SetData to modify the data (here Friction):
Sub SetMemberHingeFriction ()Dim model As RFEM5.modelSet model = GetObject (, 'RFEM5.Model')model.GetApplication.LockLicenseOn Error GoTo eDim data As IModelDataSet data = model.GetModelDataDim hinge (0 To 0) As RFEM5.MemberHingehinge(0).No = 1hinge(0).RotationalConstantX = 1hinge(0).RotationalConstantY = 2hinge(0).RotationalConstantZ = 3hinge(0).TranslationalConstantX = 4hinge(0).TranslationalConstantY = 5hinge(0).TranslationalConstantZ = 6hinge(0).Comment = "Member Hinge 1"hinge(0).TranslationalNonlinearityX = FrictionATypedata.PrepareModificationdata.SetMemberHinges hingedata.FinishModification' get interface for member hingeDim imemhing As IMemberHingeSet imemhing = data.GetMemberHinge(1, AtNo)' get interface for nonlinearity 'friction'Dim iFric As IFrictionSet iFric = imemhing.GetNonlinearity(AlongAxisX)' get friction dataDim fric As Frictionfric = iFric.GetDatafric.Coefficient1 = 0.3' set friction datadata.PrepareModificationiFric.SetData fricdata.FinishModificatione: If Err.Number <> 0 Then MsgBox Err.Description, , Err.SourceSet data = Nothingmodel.GetApplication.UnlockLicenseSet model = NothingEnd SubIn the case of the friction Vy + Vz, the Coefficient2 is used to set the second coefficient. The spring constant in the Friction dialog box is controlled by the translational spring of the member end release. In the concrete case, this is TranslationalConstantX for the X-direction (see Figure 01).
-
Answer
The asynchronous calculation is used if a self-created program should only open or continue RFEM or RSTAB. When the calculation is complete, the event is transferred via a delegate. You can find a C# example in a Visual Studio project in the download area below. -
Answer
This check can be queried automatically via
- "IApplication.LockLicense ()"
- "bool isLicensed = IApplication.IsComLicensed ()"
- "IApplication.UnlockLicense ()"
-
Answer
To transfer several elements, you first have to create a field (array) in VBA:
Dim nodes (0 to 2) as RFEM5.Node
Then, you can transfer all nodes at once to the field (here three elements 0,1,2) with the method IModelData.SetNodes ().
These methods are also available e.g. for the following structural elements:
IModelData.SetLines ()
IModelData.SetMembers ()
IModelData.SetSurfaces ()
-
Answer
Basically, any possible modifications of the COM Interface are stated in our update report for the respective add-on module. All update reports are available on the following link .If there is a modification of the COM Interface, it is listed there. Especially when converting the older COM interfaces from RSTAB6/RFEM3 to RSTAB8/RFEM5, complete compatibility is not guaranteed due to the change from tlbs in the VBA to an integrated solution with dlls.However, it is usually possible to overwrite dlls within the current COM interface without any problems. For additional backups, it is always recommended to back up the old files. -
Answer
No, that is not possible. The report can not be opened or managed via the COM Interface. The only thing that can be done is to access the number of created reports in a list.It is possible to access the report templates. This is explained in the following FAQ. However, this can not be controlled by the COM Interface of RFEM/RSTAB, but by a general Windows functionality. -
Answer
Each module has its own method for calculating a case in a module. Here are the methods of the individual modules for the case calculation:RF-/Timber - IModuleCase -> Calculate()RF-/STEEL EC3 - ICase -> moCalculate()RF-/ALUMINUM - ICase -> moCalculate()RF-/STEEL - IstCase -> stResultsCalculate()RF STABILITY - IsbCase -> sbResultsCalculate()RF-/DYNAM Pro - IDynamModule -> Calculate()RF-/CONCRETE Members - IcoCase -> coResultsCalculate()RF-/CONCRETE Surfaces - IcoCase -> coResultsCalculate()
Contact us
Did you find your question?
If not, contact us via our free e-mail, chat, or forum support, or send us your question via the online form.
First Steps
We provide hints and tips to help you get started with the main programs RFEM and RSTAB.
Wind Simulation & Wind Load Generation
With the stand-alone program RWIND Simulation, wind flows around simple or complex structures can be simulated by means of a digital wind tunnel.
The generated wind loads acting on these objects can be imported to RFEM or RSTAB.
Your support is by far the best
“Thank you very much for the useful information.
I would like to pay a compliment to your support team. I am always impressed how quickly and professionally the questions are answered. In the industry of structural analysis, I use several software including service contract, but your support is by far the best.”