Within a Petrel plugin, I wish to determine the location of the current project's .sim directory, if it has one. Is there an Ocean API call I can use to get this information?
You can get this directory from a simulation case object using the following method(s):
Case simCase = aSimulationCaseFromSomewhere;
string exportPath = EclipseFormatSimulator.GetArguments(simCase).CaseInfo.ExportPath;
Good luck!
Gaute