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
Dear Glen,
The following syntax should work:
g_o.getsingleresult(g_o.Phase_1, g_o.ResultTypes.Soil.StateParameters[3], 0.5, 0.5)
I guess you need to identify which StateParameters[i] the property "η" corresponds to.
If you cannot find it, please let me know.
Thanks - but how to change the ResultTypes in a Plot?
Hello Glen,
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
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
I tried it with PLAXIS 2D CONNECT Edition V21.01 and V22.01 and it works fine. See the GIF below:
Thanks - I will try to upgrade as it doesn't seem consistent.