#4867 Rename python examples to avoid mixed case

This commit is contained in:
Gaute Lindkvist
2019-10-15 16:04:06 +02:00
parent d21afc5a41
commit bc8134009b
25 changed files with 20 additions and 26 deletions

View File

@@ -0,0 +1,18 @@
# Import the tempfile module
import tempfile
# Load ResInsight Processing Server Client Library
import rips
# Connect to ResInsight instance
resInsight = rips.Instance.find()
# Get a list of all plots
plots = resInsight.project.plots()
export_folder = tempfile.mkdtemp()
print("Exporting to: " + export_folder)
for plot in plots:
plot.export_snapshot(export_folder=export_folder)
plot.export_data_as_las(export_folder=export_folder)
plot.export_data_as_ascii(export_folder=export_folder)