Files
ResInsight/GrpcInterface/Python/rips/PythonExamples/instance_example.py

11 lines
288 B
Python
Raw Normal View History

#######################################
# This example connects to ResInsight
#######################################
2019-06-14 16:07:09 +02:00
import rips
2019-09-19 13:25:04 +02:00
resinsight = rips.Instance.find()
2019-06-14 16:07:09 +02:00
2019-09-19 13:25:04 +02:00
if resinsight is None:
print('ERROR: could not find ResInsight')
else:
print('Successfully connected to ResInsight')