mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 07:03:25 -06:00
#3857 Support file split option in command file for export MSW
This commit is contained in:
parent
914daded6b
commit
18a5961230
@ -48,6 +48,7 @@ RicfExportMsw::RicfExportMsw()
|
|||||||
RICF_InitField(&m_includePerforations, "includePerforations", true, "Include Perforations", "", "", "");
|
RICF_InitField(&m_includePerforations, "includePerforations", true, "Include Perforations", "", "", "");
|
||||||
RICF_InitField(&m_includeFishbones, "includeFishbones", true, "Include Fishbones", "", "", "");
|
RICF_InitField(&m_includeFishbones, "includeFishbones", true, "Include Fishbones", "", "", "");
|
||||||
RICF_InitField(&m_includeFractures, "includeFractures", true, "Include Fractures", "", "", "");
|
RICF_InitField(&m_includeFractures, "includeFractures", true, "Include Fractures", "", "", "");
|
||||||
|
RICF_InitField(&m_fileSplit, "fileSplit", RicExportCompletionDataSettingsUi::ExportSplitType(), "File Split", "", "", "");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,6 +78,7 @@ void RicfExportMsw::execute()
|
|||||||
exportSettings.includePerforations = m_includePerforations;
|
exportSettings.includePerforations = m_includePerforations;
|
||||||
exportSettings.includeFishbones = m_includeFishbones;
|
exportSettings.includeFishbones = m_includeFishbones;
|
||||||
exportSettings.includeFractures = m_includeFractures;
|
exportSettings.includeFractures = m_includeFractures;
|
||||||
|
exportSettings.fileSplit = m_fileSplit;
|
||||||
|
|
||||||
RimWellPath* wellPath = RiaApplication::instance()->project()->wellPathByName(m_wellPathName);
|
RimWellPath* wellPath = RiaApplication::instance()->project()->wellPathByName(m_wellPathName);
|
||||||
if (!wellPath)
|
if (!wellPath)
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "RicfCommandObject.h"
|
#include "RicfCommandObject.h"
|
||||||
|
|
||||||
|
#include "CompletionExportCommands/RicExportCompletionDataSettingsUi.h"
|
||||||
|
|
||||||
#include "cafPdmField.h"
|
#include "cafPdmField.h"
|
||||||
|
|
||||||
//==================================================================================================
|
//==================================================================================================
|
||||||
@ -42,4 +44,5 @@ private:
|
|||||||
caf::PdmField<bool> m_includePerforations;
|
caf::PdmField<bool> m_includePerforations;
|
||||||
caf::PdmField<bool> m_includeFishbones;
|
caf::PdmField<bool> m_includeFishbones;
|
||||||
caf::PdmField<bool> m_includeFractures;
|
caf::PdmField<bool> m_includeFractures;
|
||||||
|
caf::PdmField<RicExportCompletionDataSettingsUi::ExportSplitType> m_fileSplit;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user