Files
ResInsight/GrpcInterface/Python/rips/PythonExamples/instance_example.py
2021-01-11 15:27:45 +01:00

11 lines
288 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')