Files
ResInsight/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InstanceExample.py

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')