Python get_results fails, but gives settlements

Hi, 

When using a Python script to get results from a calculation, I use the function:

u1, uy_c = get_result(g_i.Phase_1) for a specific phase. For example within get_result() the method to obtain uy_c = float(g_o.getsingleresult(phase_o,g_o.ResultTypes.Soil.Uy,0,0)) . This works fine

I do this for multiple phases. However, the problem I run into is that sometimes this function/callable gives an answer, but if I open the model in Plaxis it says:

'Soil body seems to collapse. Please inspect Output results. Accuracy condition not reached in last step. [Error code: 111]'

Therefore, it will not calculate the next phase, which is correct in my opinion. But for uy_c I do obtain a value, but I want some error code or value which informs me about the Soil body collapse.

How can I obtain or call the value for the 'Soil body seems to collapse. Please inspect Output results. Accuracy condition not reached in last step. [Error code: 111]''? Which this value I can tell the script which creates output that the specific phase has failed.

Thank you in advance.

Parents Reply Children
No Data