Catching Plaxis error message with Python when defining a SoilMat

Hi all,

I am working on an iterative procedure where phases are calculated with and without Design Approaches. The soil model I am using is HSSS and the soil parameters are identified by another algorithm. The reason why I am asking here is that when I am using Design Approaches, some parameters change (Phi for example), and the relation between E50, Eoed and Eur is no longer fulfilled.

When defining (manually) a wrong parameter combination, Plaxis gives you an “error alert” with a recommendation about what to change in order to be able to correctly define the soil material. Is there a way to catch that same recommendation when creating the soil material using python?

Reading the “Command Reference” I found that the command g_i.checkcalculationconditions() can find when a soil material is wrongly defined, but it says nothing about what to change.

The only solution I can think off is to check if the relations between the different parameters is fulfilled for both, with a without Design Approach, before creating the soil material. But I would like to know if there is a way to catch that Plaxis recommendation and use regular expressions to find out what should be modified.

Thank you and Regards,