mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
18 lines
398 B
Python
18 lines
398 B
Python
import sys
|
|
import os
|
|
sys.path.insert(1, os.path.join(sys.path[0], '../../'))
|
|
|
|
import rips
|
|
|
|
resInsight = rips.Instance.find()
|
|
if resInsight is not None:
|
|
cases = resInsight.project.selectedCases()
|
|
|
|
print ("Got " + str(len(cases)) + " cases: ")
|
|
for case in cases:
|
|
print(case.name)
|
|
for property in case.properties.available('DYNAMIC_NATIVE'):
|
|
print(property)
|
|
|
|
|