.. # split from OESpicoliFunctions.rst:220


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OEIsReadableSurface

.. oe:function:: OEIsReadableSurface

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

      .. oe:api::

         bool OEIsReadableSurface(unsigned int type)
         bool OEIsReadableSurface(const std::string& filename)

   .. oe:language:: python

      .. oe:api:: python

         OEIsReadableSurface(type: int) -> bool
         OEIsReadableSurface(filename: str) -> bool

   Returns ``true`` if the supplied file format is readable by
   Spicoli. The ``filename`` can be a file name or a file extension. The
   ``unsigned int`` parameter value should be drawn from the
   :oe:constns:`OESpicoli::OESurfaceFileType` namespace.

