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

10 lines
304 B
Python
Raw Normal View History

#######################################
# This example connects to ResInsight
#######################################
2019-06-14 16:07:09 +02:00
import rips
try:
resinsight = rips.Instance.find()
2021-01-26 20:48:01 +01:00
print("Successfully connected to ResInsight")
except rips.RipsError as e:
print(f"ERROR: could not find ResInsight: {e}")