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

10 lines
371 B
Python
Raw Normal View History

######################################################################
# This script applies a cell result to the first view in the project
######################################################################
import rips
2019-09-19 06:25:04 -05:00
resinsight = rips.Instance.find()
2019-11-21 01:13:15 -06:00
view = resinsight.project.views()[0]
view.apply_cell_result(result_type='STATIC_NATIVE', result_variable='DX')