mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
12 lines
291 B
Python
12 lines
291 B
Python
#######################################
|
|
# This example connects to ResInsight
|
|
#######################################
|
|
import rips
|
|
|
|
resinsight = rips.Instance.find()
|
|
|
|
if resinsight is None:
|
|
print("ERROR: could not find ResInsight")
|
|
else:
|
|
print("Successfully connected to ResInsight")
|