.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEProton

.. meta::
   :keywords: OEGetAtompKaRangeType

.. oe:function:: OEGetAtompKaRangeType

   .. attention::

      |PRELIMINARY-API|

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

      .. oe:api::

         unsigned int OEGetAtompKaRangeType(const std::string& pKaRangeName)

   .. oe:language:: python

      .. oe:api:: python

         OEGetAtompKaRangeType(pKaRangeName: str) -> int

   This function returns the constant from the
   :oe:constns:`OEProton::OEpKaRange` namespace for the provided `pKaRangeName`.

   .. seealso::

      * :oe:func:`OEProton::OEGetAtompKaRangeName` function
