WellIA: Load results after external computations script has completed (#8062)

* Load result after modeling has completed.
* Select new geomech view in project tree when importing a new geomech case
This commit is contained in:
jonjenssen
2021-09-28 12:39:54 +02:00
committed by GitHub
parent de1d02e7bc
commit 66852c4dad
4 changed files with 18 additions and 1 deletions

View File

@@ -93,7 +93,14 @@ void RicRunWellIntegrityAnalysisFeature::onActionTriggered( bool isChecked )
runProgress.incrementProgress();
runProgress.setProgressDescription( "Loading modeling results." );
// TODO - load results from Abaqus modeling here.
RiaApplication* app = RiaApplication::instance();
if ( !app->openOdbCaseFromFile( modelSettings->outputOdbFilename() ) )
{
QMessageBox::critical( nullptr,
wiaTitle,
"Failed to load modeling results. Check log window for additional information." );
return;
}
}
//--------------------------------------------------------------------------------------------------