#3857 Support file split option in command file for export MSW

This commit is contained in:
Gaute Lindkvist 2018-12-12 08:42:24 +01:00
parent 914daded6b
commit 18a5961230
2 changed files with 6 additions and 1 deletions

View File

@ -48,6 +48,7 @@ RicfExportMsw::RicfExportMsw()
RICF_InitField(&m_includePerforations, "includePerforations", true, "Include Perforations", "", "", "");
RICF_InitField(&m_includeFishbones, "includeFishbones", true, "Include Fishbones", "", "", "");
RICF_InitField(&m_includeFractures, "includeFractures", true, "Include Fractures", "", "", "");
RICF_InitField(&m_fileSplit, "fileSplit", RicExportCompletionDataSettingsUi::ExportSplitType(), "File Split", "", "", "");
}
@ -76,7 +77,8 @@ void RicfExportMsw::execute()
exportSettings.folder = exportFolder;
exportSettings.includePerforations = m_includePerforations;
exportSettings.includeFishbones = m_includeFishbones;
exportSettings.includeFractures = m_includeFractures;
exportSettings.includeFractures = m_includeFractures;
exportSettings.fileSplit = m_fileSplit;
RimWellPath* wellPath = RiaApplication::instance()->project()->wellPathByName(m_wellPathName);
if (!wellPath)

View File

@ -20,6 +20,8 @@
#include "RicfCommandObject.h"
#include "CompletionExportCommands/RicExportCompletionDataSettingsUi.h"
#include "cafPdmField.h"
//==================================================================================================
@ -42,4 +44,5 @@ private:
caf::PdmField<bool> m_includePerforations;
caf::PdmField<bool> m_includeFishbones;
caf::PdmField<bool> m_includeFractures;
caf::PdmField<RicExportCompletionDataSettingsUi::ExportSplitType> m_fileSplit;
};