.. # split from OESystemFunctions.rst:1169

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEGetContourLevel

.. oe:function:: OEGetContourLevel

   .. oe:language:: c++ java csharp

      .. oe:api::

         float OEGetContourLevel(const OEGridAbstractBase& grid,
                                 unsigned int idx)

   .. oe:language:: python

      .. oe:api:: python

         OEGetContourLevel(grid: OEGridAbstractBase, idx: int) -> float

   Returns the level for the contour associated with 'idx' from a 'grid'
   (:ref:`OEGridAbstractBase <OESystem_OEGridAbstractBase>`)

   .. seealso::

      * :oe:func:`OESystem::OEAddContour`
      * :oe:func:`OESystem::OEGetContourColor`
      * :oe:func:`OESystem::OENumContours`

