Files

14 lines
453 B
Python
Raw Permalink Normal View History

2020-03-10 14:11:22 +01:00
# Load ResInsight Processing Server Client Library
import rips
2021-01-26 20:48:01 +01:00
2020-03-10 14:11:22 +01:00
# Connect to ResInsight instance
resinsight = rips.Instance.find()
# Example code
project = resinsight.project
summary_cases = project.descendants(rips.SummaryCase)
summary_plot_collection = project.descendants(rips.SummaryPlotCollection)[0]
2021-01-26 20:48:01 +01:00
if len(summary_cases) > 0:
summary_plot = summary_plot_collection.new_summary_plot(
summary_cases=summary_cases, address="FOP*"
)