GetValueFromLayer

  • Scroll to top of this topic Scroll to Top of Page

  • Print the current topic Print Topic

  • No expanding elements on this page Show/Hide Expanders

GetValueFromLayer(DataSetName, Layer) is used to retrieve real number data from a 3D data set in a "2D Top" data set. GetValueFromLayer retrieves the value of the data set whose name is DataSetName at the row and column that is being evaluated and the layer specified by the "Layer" argument. Note that DataSetName is a text variable so it typically will be enclosed in quotation marks. GetValueFromLayer should never be used when defining a grid or mesh elevation even indirectly and may cause a circular reference error if attempted. In SUTRA and PHAST models data sets can be evaluated at either nodes or element. It is important that the data set named by DataSetName be evaluated at the same location as the data set to which the result of the function is applied.