.. # split from OESystemFunctions.rst:1654

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEIsWriteableGrid

.. oe:function:: OEIsWriteableGrid

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

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

   Returns ``true`` if the supplied file format is writable by
   *OEGrid*. The 'filename' can be a file name or a file
   extension. The 'type' parameter value should be drawn from the
   :oe:constns:`OESystem::OEGridFileType` namespace.

