I'm getting all boreholes (Borehole Collection) from my Petrel project using the following code:
WellRoot wr = WellRoot.Get(PetrelProject.PrimaryProject);
BoreholeCollection bhc = wr.BoreholeCollection;
I can get the borehole name (bellow code), but I'm struggling to find the type of this borehole (producer or injector) and what simulation case this borehole is comming from (I have two simulation cases in my Petrel project).
foreach (Borehole bh in bhc)
PetrelLogger.InfoOutputWindow("Borehole name " + bh.Name);
Anyone could help me?
Thanks in advance!
This touches the display/UI domain; the access is decoupled via