I want to do soil test in python. I can only find Command in Help, but i can't find the python code.
Dear Jianshu,
We have demonstrated this functionality in one of our webinars, which I think is the best way to learn about the SoilTest and its Scripting functionality.
SIG Workshop: Geotechnical Analysis – Optimizing Undrained Parameters for Undrained Soft SoilsHere is the link to watch this on-demand (scripting is ~36min): gateway.on24.com/.../
Answer Verified By: jianshu liu
Hello!
After learning the lesson you shared, The differences between variable(q、εyy、excess pore pressure) and its code in python can be observed. I wonder the python code corresponding to its variable(q、εyy、excess pore pressure). or can you teach me where to find that?
Thanks!
Sincerely.
That's exactly what I need! Really really thanks! I hope I didn't bother you too much:)
Awesome! Glad I could help. As long as you have what you need, that's what matters!
Have a nice day!
Now I encounter with another question, I have an error when I want to print the deviatoric stress from soil test, which says AttributeError: Requested attribute 'DeviatoricStress' is not present, my simple code displays below, I am confused because I write almost the same as the lesson shows.
from plxscripting.easy import*s_t, g_t = new_server('localhost', 10001, password='19961217')g_t.Triaxial.CellPressure = 100g_t.calculate(g_t.Triaxial)q = g_t.Triaxial.Results.DeviatoricStressprint(format(q))
that's the result of code "g_t.Triaxial.Results.DeviatoricStress" running on Jupyter QtConsole
FYIcommunities.bentley.com/.../error-in-getting-results-of-soiltest-in-python-scripting