Closed BouwenmetStaal closed 3 years ago
we added new method IConnHiddenCheck.DeleteAllOperations(string connectionId)
see :
the source code was mograted to the new repository https://github.com/idea-statica/ideastatica-public
you can test it with the beta beta version
officially it will be released in the patch 21.0.2
Hi Martin,
This new method to delete all operations does not solve the issue I described.
Could the missing step of one of the two described methods be added as functionality to the IOM. This addition will enable the possibility to create optimization algorithms with the IOM.
BR, Rayaan
After calculating the IDEA StatiCa connection file, I want to change attributes of the connection (for example change the size of a weld) and redo the calculation.
What method would be best to do this? I thought of the following methods, unfortunately both are incomplete in order to fully execute this desired procedure.
Method 1 (Modifying ConnectionData): 1)
conRes = client.Calculate(connection.Identifier);
2)ConnectionData cd = client.GetConnectionModel(connection.Identifier);
3)foreach (WeldData w in cd.Welds) { w.Thickness = 0.020; }
4)Method missing to update new ConnectionData to client.Method 2 (using ConnectionTemplate): 1)
conRes = client.Calculate(connection.Identifier);
2)client.ExportToTemplate(connection.Identifier, templatePath);
4)ConnectionTemplate class missing to open, modify and save new template xml 5)client.ApplyTemplate(connection.Identifier, newTemplatePath, null);