.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OESetStyle

.. oe:function:: OESetStyle

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

      .. oe:api::

         void OESetStyle(OEChem::OEMolBase& mol, const OE3DMolStyle& style)
         void OESetStyle(OEChem::OEAtomBase& atom, const OE3DMolStyle& style)
         void OESetStyle(OESystem::OEIter<OEChem::OEAtomBase>& atoms,
                         const OE3DMolStyle& style)

   .. oe:language:: python

      .. oe:api:: python

         OESetStyle(mol: Union[OEGraphMol,OEMol,OEQMol], style: OE3DMolStyle) -> None
         OESetStyle(atom: OEAtomBase, style: OE3DMolStyle) -> None
         OESetStyle(atoms: OEAtomIter, style: OE3DMolStyle) -> None

   Sets the :ref:`OE3DMolStyle <OEChem_OE3DMolStyle>` of a 
   :ref:`OEMolBase <OEChem_OEMolBase>`, :ref:`OEAtomBase <OEChem_OEAtomBase>`, or 
   an iterator of :ref:`OEAtomBase <OEChem_OEAtomBase>`.