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

10 lines
376 B
Python
Raw Normal View History

######################################################################
# This script applies a cell result to the first view in the project
######################################################################
import rips
2019-09-19 13:25:04 +02:00
resinsight = rips.Instance.find()
view = resinsight.project.view(view_id=0)
view.apply_cell_result(result_type='STATIC_NATIVE', result_variable='DX')