Getting Equilibrium forces from existing model

Wish to retrieve the equilibrium forces from FEM-Design model. Probably can sum all the reactions with few more lines of code. Is it even possible to retrieve the equilibrium values through FemDesign.Results.Equilibrium?

Just to give an example how I would like to see it in code:

using (var femDesign = new FemDesign.FemDesignConnection(keepOpen: true))

{

femDesign.Open(myModel);
femDesign.RunAnalysis(analysis);
var Reactions=femDesign.GetResults<FemDesign.Results.Equilibrium>(units);

var totalFx = Reactions.Sum(r => r.Fx);
var totalFy = Reactions.Sum(r => r.Fy);
var totalFz = Reactions.Sum(r => r.Fz);

Console.WriteLine($“Total reactions: Fx={totalFx} kN, Fy={totalFy} kN, Fz={totalFz} kN”);
}

The main idea would be to give out equilibrium forces from multiple models at once so it would be faster and easier to check changes in new versions in seperate models.

Ehy @arturander
Great initiative!

Would it be possible for you to point me to the ListTables that you would like to get?

Just would like to have all load cases and reactions listed as output. Not sure if it’s necessary to group them by Load Case types, that’s what the ”List tables” does.

This is a problem of my colleague and I’m just trying to find a solution to it.
He tracks all possible updates related to a underground global model. The model has pasted loads from reactions of seperate buildings that are also seperate models. Currently he is doing this all by hand with 5 big models. Since he downloads them from our server then he usually also has to calculate them one-by-one to get results.

ah right!

Basically this is a programming problem issue. I am glad that the API is giving you the information to start with. I thought that Equilibrium was not implemented

I can help you but I would need to get a clear explaination with one load case.

also, have you tried brainstorming with chatGPT? He is usually really good as such tasks.

From what I can see from the screenshot, you might need a GroupBy method from System.Linq to start with.

Can the following method help?
the output will be for the specified load case only. It might be easier for you to do post processing

public List<T> GetLoadCaseResults<T>(string loadCase = null, IStructureElement element = null, UnitResults units = null, Options options = null) where T : IResult