Support pausing before running abaqus script to allow input file modifications.

Add option in preferences to enable/disable pause.
This commit is contained in:
jonjenssen
2021-12-06 20:29:02 +01:00
committed by Magne Sjaastad
parent ff0b09d1c2
commit 8c27a0f656
3 changed files with 31 additions and 7 deletions

View File

@@ -87,6 +87,19 @@ void RicRunWellIntegrityAnalysisFeature::onActionTriggered( bool isChecked )
return;
}
if ( RiaPreferencesGeoMech::current()->waitBeforeRunWIA() )
{
runProgress.setProgressDescription( "Waiting for input file modifications." );
QString infoText = "Input parameter files can now be found in the working folder:";
infoText += " \"" + modelSettings->outputBaseDirectory() + "\"\n";
infoText += "\nClick OK to start the Abaqus modeling or Cancel to stop.";
auto reply = QMessageBox::information( nullptr, wiaTitle, infoText, QMessageBox::Ok | QMessageBox::Cancel );
if ( reply != QMessageBox::Ok ) return;
}
runProgress.incrementProgress();
runProgress.setProgressDescription( "Running Abaqus modeling." );