ResInsight
ResInsight copied to clipboard
2022-06: Number of Plots Incorrect?
I'm trying to get the number of plots in the project, using this:
# Get a list of all plots
plots = resinsight.project.plots()
print("Found " + str(len(plots)) + " plots: ")
and I get this
Found 15 plots:
But there are only four plots, but if I count the subplots I get 11 plus 4 (for the main plots), gives 15. So how does one get just the main plot count? I need this since I wish to loop over all the wells for the four plots.