Is it possible using python to output plots of η?
For example can do IncrementalDeviatoricStrain using: g_o.Plots[0].ResultType = g_o.ResultTypes.Soil.IncrementalDeviatoricStrain
Have upgraded to V21.01. Can get it to work sometimes (i.e. using command first time on opening file, or using the jupyter console like shown in the gif), but then stops working.
Thanks - I will try to upgrade as it doesn't seem consistent.
Hello Glen,
I tried it with PLAXIS 2D CONNECT Edition V21.01 and V22.01 and it works fine. See the GIF below:
Sorry, I should have said change the ResultTypes to η? e.g. g_o.Plots[0].ResultType = g_o.ResultTypes.Soil.StateParameters[3] doesn't work.
It's no problem to change to any of the parameters in the command reference (Help > Command reference, locally at file:///C:/Program%20Files/Bentley/Geotechnical/PLAXIS%202D%20CONNECT%20Edition%20V21/Manuals/English/output_objects/objects_Soil.html)
Using V21
You can use the assignment symbol in Python ( = ) and assign a value to the ResultType property of the plot. For example:
g_o.Plots[-1].ResultType = g_o.ResultTypes.Soil.PActive
There is also a detailed article about plots: https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/55949/export-and-format-plots-from-plaxis-output-using-python