Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First we declare a variable called values as a list. Then we continue by looping trough the vertices of the grid and calling the function "GetGebcoBathymetryValueFor"  to get the depth value on the location of the vertex and adding it to the list. Finally we add the bathymetry values to the model by using the setvalues SetValues method on the bathymetry property of the model. This should result in the following :

Image Added