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
Helps a lot! I find that when the output is '2', it means that the calculation has failed.
Yes, that is indeed better! Great that you found that.
You can search for all properties in our Command reference > Input Objects reference > Phase