From 295186f99b14d10886ec4242a99a9e2732034594 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 22 Oct 2021 19:11:17 +0200 Subject: [PATCH] #8180 : Add example for fracture template orientation --- .../Python/rips/PythonExamples/import_fractures_on_well.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GrpcInterface/Python/rips/PythonExamples/import_fractures_on_well.py b/GrpcInterface/Python/rips/PythonExamples/import_fractures_on_well.py index 6bc90184a2..4ff2f00f9f 100644 --- a/GrpcInterface/Python/rips/PythonExamples/import_fractures_on_well.py +++ b/GrpcInterface/Python/rips/PythonExamples/import_fractures_on_well.py @@ -39,3 +39,7 @@ for measured_depth in measured_depths: measured_depth=measured_depth, stim_plan_fracture_template=fracture_template, ) + +# Update the orientation of the fracture, call update() to propagate changes in Python to ResInsight +fracture_template.orientation = "Az" +fracture_template.update()