Files
ResInsight/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_cell_result.py
2019-10-15 16:31:40 +02:00

10 lines
376 B
Python

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