Files
ResInsight/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InstanceExample.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
resInsight = rips.Instance.find()
if resInsight is None:
print('ERROR: could not find ResInsight')
else:
print('Successfully connected to ResInsight')