.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OESetSurface

.. oe:function:: OESetSurface

   .. oe:language:: python

      .. oe:api:: python

         OESetSurface(obj, tag, surface) -> bool

   .. oe:language:: java csharp

      .. oe:api:: java csharp

         boolean OESetSurface(OEBase obj, String tag, OESurface surface)

   .. oe:language:: python java csharp

      Sets an :ref:`OESurface <OESpicoli_OESurface>` as generic data on an
      OEBase object, using the specified tag.

      .. seealso::

         * :oe:func:`OESpicoli::OEGetSurface` function

   .. 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::SetData` method instead.
