From bc591664fdc3e60da00bd35486e404551c4c6a22 Mon Sep 17 00:00:00 2001 From: MP <53620289+Marco-Pellegrino@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:08:33 +0100 Subject: [PATCH] :goal_net: update test --- .../Results/Stability/NodalBucklingShapeTests.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/FemDesign.Tests/Results/Stability/NodalBucklingShapeTests.cs b/FemDesign.Tests/Results/Stability/NodalBucklingShapeTests.cs index 005f6fe36..9fcfed626 100644 --- a/FemDesign.Tests/Results/Stability/NodalBucklingShapeTests.cs +++ b/FemDesign.Tests/Results/Stability/NodalBucklingShapeTests.cs @@ -78,15 +78,9 @@ public void TestReadStabilityResults() string struxmlPath = "Results\\Stability\\ReadBucklingShapesTest.struxml"; Model model = Model.DeserializeFromFilePath(struxmlPath); - FemDesign.Calculate.Analysis analysis = new FemDesign.Calculate.Analysis(calcComb : true, calcStab : true); + var stabily = new Calculate.Stability(new List { "LC1ULS" }, new List { 10 }, false, 5); + FemDesign.Calculate.Analysis analysis = new FemDesign.Calculate.Analysis(stability: stabily, calcComb : true, calcStab : true); - var combItem = new FemDesign.Calculate.CombItem(stabReq: 10); - model.Entities.Loads.LoadCombinations.ForEach(lComb => - { - lComb.CombItem = combItem; - }); - - analysis.SetLoadCombinationCalculationParameters(model); using (var femDesign = new FemDesignConnection(fdInstallationDir : @"C:\Program Files\StruSoft\FEM-Design 22\", outputDir: "My analyzed model", keepOpen: false)) {