Hi,
I am able to export the Output plot using Python code, per the guidance provided in this article.
https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45549/export-and-format-plots-from-plaxis-output
I tried out to output the plot of the Deformed mesh.
With the echo function, I obtained the following:
Plot named "Plot_1" ResultType: |u| PlotType: None (0)
For PlotType, I tried inputting "None (0)"/"None"/"0" into:
for phase in g_o.Phases: g_o.Plots[-1].Phase = phase g_o.Plots[-1].ResultType = g_o.ResultTypes.Soil.Utot g_o.Plots[-1].PlotType = 'None'
but the following error is shown below.
Invalid value: "None (0)". Allowed values are: nodearrows, contourlines, shadings, nodelabels or ordinal value.
Anyone knows how do I specify "None (0)" into PlotType as shown in the echo function?
Thank you very much, that was exactly what I was looking for. It would be great if these commands could be documented a bit better in the scripting manual so it is easier for users to find the right commands.
Dear Arnkjell,
That is already possible by using the command: s_o.close()
Check our relevant article: How to open and close a PLAXIS project with Python
Hi Stefanos, thank you for the reply. Yes that is the workaround that I am currently doing. In the context of this workaround, it would also be very helpful to be able to execute g_o.close() with keywords to specifically close only a single model / viewport without closing the whole Output program (like Ctrl+F4 in the GUI). The only way I've found to do this now is to open a "dummy model" first, and then open and close subsequent models with g_o.open() and g_o.close(), which leaves the dummy model open on the Deformed Mesh view and ensures that the subsequent model also opens on the Deformed mesh view..
The option to switch to Deformed mesh will be included in our upcoming release of PLAXIS.
With the V22 or V21 the only workaround is to perform all the exports when you first launch PLAXIS Output, in which the Deformed mesh is by default selected.
Hi Stefanos, any update on this fix, or alternatively, if there is any temporary workaround? I am having the same issue and need a way to make the vport go to "Deformed Mesh" as we are making several output plots for a large number of models. Thanks!