#8212 Python : Make it possible to define the azimuth angle for a fracture template

This commit is contained in:
Magne Sjaastad
2021-10-28 10:36:50 +02:00
parent 6a135395a6
commit d21be5823d
2 changed files with 6 additions and 4 deletions

View File

@@ -40,6 +40,8 @@ for measured_depth in measured_depths:
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"
# Update the orientation of the fracture
# Call update() to propagate changes from the Python object back to ResInsight
fracture_template.orientation = "Azimuth"
fracture_template.azimuth_angle = 60.0
fracture_template.update()