#1495 Add 'Completions' folder to RimWellPath

Move perforation intervals into folder
Move fishbone definitions and fishbone well paths into folder
This commit is contained in:
Magne Sjaastad
2017-05-19 15:44:32 +02:00
parent 1853f97bbc
commit 5ec2764c16
18 changed files with 218 additions and 67 deletions

View File

@@ -24,6 +24,7 @@
#include "RimProject.h"
#include "RimWellPath.h"
#include "RimFishboneWellPathCollection.h"
#include "RimFishbonesCollection.h"
#include "RiuMainWindow.h"
@@ -69,7 +70,7 @@ void RicWellPathImportCompletionsFileFeature::onActionTriggered(bool isChecked)
// Remember the path to next time
app->setLastUsedDialogDirectory("WELLPATH_DIR", QFileInfo(wellPathFilePaths.last()).absolutePath());
objects[0]->m_completionCollection()->importCompletionsFromFile(wellPathFilePaths);
objects[0]->fishbonesCollection()->wellPathCollection()->importCompletionsFromFile(wellPathFilePaths);
if (app->project())
{