Navigation: Formulas > Functions > Grid or Mesh
Layer
Layer returns the layer number of the node or element for which the formula is being calculated.
See also: ParentLayer.