.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetOEQMol

.. oe:function:: OEGetOEQMol

   .. oe:language:: java

      .. oe:api:: java

         OEQMol OEGetOEQMol(OEBase obj, String tag)

   .. oe:language:: python

      .. oe:api:: python

         OEGetOEQMol(obj, tag) -> OEQMol

   .. oe:language:: csharp

      .. oe:api:: csharp

         OEQMol OEGetOEQMol(OEBase obj, String tag)

   .. oe:language:: python java csharp

      Returns a copy of the :ref:`OEQMol <OEChem_OEQMol>` attached with
      the ``tag`` as :ref:`generic data<chapter_genericdata>`.

      .. seealso::

         * The :ref:`section_attaching_other_objects` section for example code
         * :oe:func:`OEChem::OESetOEQMol`

   .. oe:language:: c++

      This function is provided in CSharp, Java and Python wrappers and
      is not needed in C++.  Use the templated
      :oe:meth:`OESystem::OEBaseDataT::GetData` method instead.
