.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetOEGraphMol

.. oe:function:: OEGetOEGraphMol

   .. oe:language:: java

      .. oe:api:: java

         OEGraphMol OEGetOEGraphMol(OEBase obj, String tag)

   .. oe:language:: python

      .. oe:api:: python

         OEGetOEGraphMol(obj, tag) -> OEGraphMol

   .. oe:language:: csharp

      .. oe:api:: csharp

         OEGraphMol OEGetOEGraphMol(OEBase obj, String tag)

   .. oe:language:: python java csharp

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

      .. seealso::

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

   .. 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.
