#6423 Use directory instead of file path for FRK export.

This commit is contained in:
Kristian Bendiksen
2020-09-04 10:23:19 +02:00
parent df0a985e14
commit a2f6a28248
9 changed files with 226 additions and 157 deletions

View File

@@ -36,9 +36,8 @@ time_step = time_steps[len(time_steps) - 1]
fracture_model_plot_collection = project.descendants(rips.FractureModelPlotCollection)[0]
fracture_model_plot = fracture_model_plot_collection.new_fracture_model_plot(eclipse_case=case, fracture_model=fracture_model, time_step=time_step)
file_path = "/tmp/Geological.frk"
fracture_model_plot.export_to_file(file_path=file_path)
export_folder = "/tmp/"
fracture_model_plot.export_to_file(directory_path=export_folder)
fracture_model_plot.export_snapshot(export_folder=export_folder)