mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
12 lines
332 B
Python
12 lines
332 B
Python
import sys
|
|
import os
|
|
sys.path.insert(1, os.path.join(sys.path[0], '../api'))
|
|
import ResInsight
|
|
|
|
# Load instance
|
|
resInsight = ResInsight.Instance.find()
|
|
|
|
# Run a couple of commands
|
|
resInsight.commands.setTimeStep(caseId=0, timeStep=3)
|
|
resInsight.commands.setMainWindowSize(width=800, height=500)
|
|
resInsight.commands.exportWellPaths() |