Python - ResultType and PlotType

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?



Parents Reply Children
No Data