Is it possible in Plaxis 2d to have all the maximum axial load in geogrid displayed at once in a table, rather than having to check it at the bottom only one by one?
if, yes how is it done, please.
Dear Emmannuel,
With PLAXIS Output you have the option to view the results for a single or multiple structural elements of the same type. For instance, with geogrids, you can select one or all your geogrids with the selection tool from the toolbar.
The results at the bottom of the plot focus on what is displayed in the plot. If you are visualising one geogrid then the min and max will be representing that specific geogrid.
The only way to collect all the max values is to use a simple Python script as the one below:
for geogrid in g_o.Geogrids: print(geogrid.Name) results = g_o.getresults(geogrid, g_o.Phases[-1], g_o.ResultTypes.Geogrid.Nx2D, "node") print(max(results))
Okay, now I now to know how to run python in Plaxis 2d output, is there some steps I should follow, please?
Dear Emmanuel,
I have already provided the answer to your question above.
I would recommend you checking the following:
Dear Stefanos,
I'm trying to empliment the Python script you have suggested.
But the Python script fails with the following error:
Traceback (most recent call last): File "test.py", line 6, in <module> results = g_o.getresults(geogrid, g_o.Phases[-1], g_o.ResultTypes.Geogrid.Nx2D, "node") File "C:\ProgramData\Bentley\Geotechnical\PLAXIS Python Distribution V1 Update 1\python\lib\site-packages\plxscripting\plxproxy.py", line 230, in __getattr__ "Requested attribute '{}' is not present".format(attr_name))AttributeError: Requested attribute 'Geogrid' is not present>Exit code: 1
Could you, please, help what may be the reason of this error?
Dear Даниил,
I tried to run the ResultTypes in the Output command line and I noticed that I got the response:
ResultTypes.GeoGrid.Nx2D
If you noticed there is a second capital G in the GeoGrid. It appears that our API expects the word as GeoGrid and not Geogrid. As you know Python is case-sensitive and does not allow this typo.
Please try again using the following:
results = g_o.getresults(geogrid, g_o.Phases[-1], g_o.ResultTypes.GeoGrid.Nx2D, "node")
Thank you! Now it works.
By the way, is there any source where I can check the right spelling of the variables used in Plaxis Scripting?