.. oe:namespace:: OESiteHopper


.. oe:function:: OESetPatchSurface

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

       .. oe:api::

          bool OESetPatchSurface(OEBio::OEDesignUnit& du,
                                 const OESpicoli::OESurface& surface)

    .. oe:language:: python

       .. oe:api:: python

          OESetPatchSurface(du: OEDesignUnit, surface: OESurface) -> bool

    Used by :oe:meth:`OESiteHopper::OEAddPatchSurface` to attach the surface
    to the OEDesignUnit.

