Support setting Wbs-parameters from Python.

This commit is contained in:
Gaute Lindkvist committed 2020-01-22 09:28:46 +01:00
1 parent 954bf1e02e
commit 56d141d4c3
20 files changed
+323 -70

No files matched your search

@@ -19,6 +19,7 @@
#include "RicNewWellBoreStabilityPlotFeature.h"
#include "RiaColorTables.h"
#include "RiaLogging.h"
#include "RicNewWellLogCurveExtractionFeature.h"
#include "RicNewWellLogFileCurveFeature.h"
@@ -175,6 +176,13 @@ void RicNewWellBoreStabilityPlotFeature::onActionTriggered( bool isChecked )
return;
}
if ( !wellPath->wellPathGeometry() )
{
RiaLogging::warning( QString( "The well path %1 has no geometry. Cannot create a Well Bore Stability Plot" )
.arg( wellPath->name() ) );
return;
}
createPlot( geoMechCase, wellPath, view->currentTimeStep() );
}