ResInsight icon indicating copy to clipboard operation
ResInsight copied to clipboard

2022-06: Number of Plots Incorrect?

Open OPMUSER opened this issue 3 years ago • 0 comments

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.

OPMUSER avatar Sep 17 '22 11:09 OPMUSER