...
- Start DeltaShell and open your Flow model
- In the toolbox, open a new script
Start your script by importing the necessary modules
Code Block language py linenumbers true import os from ModellerFunctions import dsget
Next, use dsget to retrieve your Flow model location of the hisfile:
Code Block language py linenumbers true flow = dsget.GetFlow1DModel() print(dsget.GetMorHisFilePath(flow))
dsget has some functions to inspect this his file.
Code Block language py linenumbers true # To see which output is available in the his file: components = dsget.GetMorphologyComponents(flow) timesteps = dsget.GetMorphologyTimeSteps(flow)
Info |
---|
Related articles
Content by Label | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|