#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,20 @@
############################################################################
# This example returns the currently selected cases in ResInsight
# Because running this script in the GUI takes away the selection
# This script does not run successfully from within the ResInsight GUI
# And will need to be run from the command line separately from ResInsight
############################################################################
import rips
resinsight = rips.Instance.find()
if resinsight is not None:
cases = resinsight.project.selected_cases()
print ("Got " + str(len(cases)) + " cases: ")
for case in cases:
print(case.name)
for property in case.available_properties('DYNAMIC_NATIVE'):
print(property)