#1948 PLT Plot. Display curves from well log file

This commit is contained in:
Bjørn Erik Jensen
2017-10-25 14:43:17 +02:00
parent 0cb64ef982
commit a97fc2b9ba
5 changed files with 677 additions and 493 deletions

View File

@@ -66,12 +66,12 @@ bool RicNewPltPlotFeature::isCommandEnabled()
RimEclipseResultCase* eclCase = caf::firstAncestorOfTypeFromSelectedObject<RimEclipseResultCase*>();
if (simWell != nullptr)
{
enable &= RimWellPltPlot::hasPressureData(eclCase);
enable &= RimWellPltPlot::hasFlowData(eclCase);
}
}
else if (rimWellPath)
{
enable &= RimWellPltPlot::hasPressureData(rimWellPath);
enable &= RimWellPltPlot::hasFlowData(rimWellPath);
}
return enable;
}
@@ -110,7 +110,7 @@ void RicNewPltPlotFeature::onActionTriggered(bool isChecked)
pltPlotColl->addPlot(pltPlot);
pltPlot->setDescription(plotName);
pltPlot->applyInitialSelections();
//pltPlot->applyInitialSelections();
pltPlot->loadDataAndUpdate();
pltPlotColl->updateConnectedEditors();