When I use python to setting the phases calculation, I can't get feedback on the failure of the stage calculation directly from the python interface. The fails of calculation do not stop the batch. Therefore, when I batch calculate models, I cannot tell if any of them have failed to calculate. How could I konw that all the phases in a model have successed calculated? Is there a code command can help?
Dear Pan,
Every phase object has a .LogInfo property to query the details. For example:
echo Phase_7.LogInfo
Thanks a lot. However, this command does not seem to give a valid feedback in the juypter interface.
It is valid, just not in the form you want it to be.
You can replace the code with:
print(i.LogInfo) # this will give you a code, 0 means OK (no error)
or
print(i.LogInfo.echo()) # this will give you the full response from PLAXIS in a string