Support setting Wbs-parameters from Python.

This commit is contained in:
Gaute Lindkvist
2020-01-21 08:48:56 +01:00
parent 954bf1e02e
commit 56d141d4c3
20 changed files with 323 additions and 70 deletions

View File

@@ -88,6 +88,14 @@ RicfCommandResponse RicfCreateWellBoreStabilityPlotFeature::execute()
if ( chosenCase && chosenWellPath && m_timeStep() >= 0 )
{
if ( !chosenWellPath->wellPathGeometry() )
{
QString error = QString( "The well path %1 has no geometry. Cannot create a Well Bore Stability Plot" )
.arg( chosenWellPath->name() );
RiaLogging::error( error );
return RicfCommandResponse( RicfCommandResponse::COMMAND_ERROR, error );
}
RimWellBoreStabilityPlot* wbsPlot = RicNewWellBoreStabilityPlotFeature::createPlot( chosenCase,
chosenWellPath,
m_timeStep(),