.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEMacroModelAtomTypeNames

.. oe:function:: OEMacroModelAtomTypeNames

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

      .. oe:api::

         bool OEMacroModelAtomTypeNames(OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEMacroModelAtomTypeNames(mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool

   This function sets the string atom type property of every atom in a
   molecule to its MacroModel atom type.  The string atom type property
   is set using the :oe:meth:`OEChem::OEAtomBase::SetType` method.  This
   function returns ``false`` if any atom was assigned ``00``, *i.e.*
   unknown, and returns the value ``true`` otherwise.

