Hello everybody,
I'm trying to programm a simple Plaxis routine to run my model and generate results such as deviatoric stress vs axial strain, pore pressure vs axial strain, among others.
The thing is that i cannot find where those names are. I could only find on an internet example that "DeviatoricStress" should be used to call "q", but with the other variables dont know what to do.
If some of you can help me I would be very very gratefull!
Thanks in advance.
Hello Daniel,
As shown by a fellow PLAXIS user, you can check all the available properties in our Object reference.
You can also, use the echo command:
echo ResultTypes.Soil
This will give you a list with all the correct property names to be used when retrieving results.
Answer Verified By: Stefanos Papavasileiou
Thanks a lot!
Now I have another question. Is there a way to connect Plaxis python to a MatLAB code?
When I download my .py script, it does not run inside Plaxis and shows error.
Dear Daniel,
PLAXIS development has assisted in implementing a Python API to assist with accessing the PLAXIS objects when using Python.
If you need to connect PLAXIS and MatLAB you will probably need to do some steps before MatLAB can "speak" in Python and the PLAXIS can "understand" it.
You mention that your Python script does not run inside PLAXIS and it shows an error.
Can you share that error?
It may be an issue of the boilerplate. Please check this article about it: https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/46005/using-plaxis-remote-scripting-with-the-python-wrapper