.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEMacroModelTypeElement

.. oe:function:: OEMacroModelTypeElement

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

      .. oe:api::

         unsigned int OEMacroModelTypeElement(unsigned int type)

   .. oe:language:: python

      .. oe:api:: python

         OEMacroModelTypeElement(type: int) -> int

   Returns the atomic number/element represented by the given MacroModel
   atom type index, as encoded by the :oe:constns:`OEChem::OEMModType`
   namespace.

