public void GetResults() { RobotResultServer results = _structure.Results; _displacementServer = results.Nodes.Displacements; _caseServer = _structure.Cases; _stressServer = _structure.Results.Bars.Stresses; }
public static void Run_Analysis(bool First_calc, Model mdl) { int w = 0; if (First_calc) { double temp; robApp.Project.CalcEngine.Calculate(); displacement_results = robApp.Project.Structure.Results.Nodes.Displacements; for (int i = mdl.init_node; i <= mdl.last_node; i++) { mdl.disp_z_cloth[w] = (float)displacement_results.Value(i, 1).UZ; mdl.disp_x_cloth[w] = (float)displacement_results.Value(i, 1).UX; mdl.disp_y_cloth[w] = (float)displacement_results.Value(i, 1).UY; temp = displacement_results.Value(i, 1).UZ; //em metros w++; } } else { } }