mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
#13484 Auto-import PVD surfaces for command line and replace case
Extract auto-import logic into public static method importPvdSurfacesForGridFiles() and call it from: - Command line case loading (--case argument) - Replace case menu action
This commit is contained in:
1 parent
24be78f105
commit
079372ea85
4 files changed
+29
-5
No files matched your search
@@ -44,6 +44,7 @@
|
||||
#include "ExportCommands/RicSnapshotAllPlotsToFileFeature.h"
|
||||
#include "ExportCommands/RicSnapshotAllViewsToFileFeature.h"
|
||||
#include "ExportCommands/RicSnapshotViewToFileFeature.h"
|
||||
#include "EclipseCommands/RicImportEclipseCaseFeature.h"
|
||||
#include "HoloLensCommands/RicHoloLensSessionManager.h"
|
||||
#include "RicImportGeneralDataFeature.h"
|
||||
#include "SummaryPlotCommands/RicSummaryPlotFeatureImpl.h"
|
||||
@@ -813,6 +814,9 @@ RiaApplication::ApplicationStatus RiaGuiApplication::handleArguments( gsl::not_n
|
||||
{
|
||||
getOrCreateAndShowMainPlotWindow();
|
||||
}
|
||||
|
||||
// Auto-import matching PVD surface files for command-line loaded cases
|
||||
RicImportEclipseCaseFeature::importPvdSurfacesForGridFiles( fileNames, {} );
|
||||
}
|
||||
|
||||
if ( cvf::Option o = progOpt->option( "savesnapshots" ) )
|
||||
|
||||
Reference in new issue
Block a user