mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
* This is so that when we add the folder to the Script Path it will look more sensible to the user.
15 lines
398 B
Python
15 lines
398 B
Python
import rips
|
|
|
|
resInsight = rips.Instance.find()
|
|
if resInsight is not None:
|
|
cases = resInsight.project.cases()
|
|
|
|
print ("Got " + str(len(cases)) + " cases: ")
|
|
for case in cases:
|
|
print(case.name)
|
|
views = case.views()
|
|
for view in views:
|
|
view.setShowGridBox(not view.showGridBox())
|
|
view.setBackgroundColor("#3388AA")
|
|
view.update()
|