Hi Clemens,

Here I am back with the problem mentioned above, except now it’s happening with AnalyzeThII. I’m pasting the component code, let me know if you need more info. I’d upload a GH file, but since this is part of a custom plugin component I don’t know how to make it work here.

Thanks in advance,

Eduardo

```
protected override void SolveInstance(IGH_DataAccess DA)
{
GH_Model ghModel = new GH_Model();
bool fast = false;
if (!DA.GetData(0, ref ghModel)) return;
if (!DA.GetData(1, ref fast)) return;
// convert GH_Model to Model
Model k3dModel = ghModel.Value;
// errorMsgs collects error messages from analysis algorithms
List<string> errorMsgs = new List<string>();
//------------ ANALYSIS (displacement and buckling)
// perform analysis: for fast calculations uses AnalyzeThI
Model k3dModelAnalysis = new Model();
Model k3dModelBuckling = new Model();
double maxDisp = 0;
List<double> bucklingFactors = new List<double>();
if (fast)
{
ThIAnalyze.solve(k3dModel, out List<double> maxDispsThI, out _, out _, out string warning, out k3dModelAnalysis);
errorMsgs.Add(warning);
maxDisp = maxDispsThI[0] * 100; // assuming results in [m], even though component outputs in [cm]
}
else
{
// using defaults from GH AnalyzeThII component
AnalyzeThII.solve(k3dModel, -1, 1.0e-7, 50, false, out List<double> maxDispsThII, out _, out _, out k3dModelAnalysis, out string warning);
errorMsgs.Add(warning);
maxDisp = maxDispsThII[0] * 100; // assuming results in [m], even though component outputs in [cm];
// calculate buckling model and safety factors
// using defaults from GH BModes component; 300 MaxIter might be reduced for performance; like GH component, returns positive load factors only
Buckling.solve(k3dModelAnalysis, 1, 1, 300, 1.0e-7, 1, out bucklingFactors, out k3dModelBuckling, out _);
}
DA.SetDataList(0, errorMsgs);
DA.SetData(1, new GH_Model(k3dModelAnalysis));
DA.SetData(2, new GH_Model(k3dModelBuckling));
DA.SetData(3, maxDisp);
DA.SetDataList(4, bucklingFactors);
}
```