ResInsight/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_cell_result.py
2019-11-21 08:15:17 +01:00

10 lines
371 B
Python

######################################################################
# This script applies a cell result to the first view in the project
######################################################################
import rips
resinsight = rips.Instance.find()
view = resinsight.project.views()[0]
view.apply_cell_result(result_type='STATIC_NATIVE', result_variable='DX')