ResInsight/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/instance_example.py
2019-10-15 16:31:40 +02: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')