.. # split from OEBioFunctions.rst:496

.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEMolComplexModelRoleFactory

.. oe:function:: OEMolComplexModelRoleFactory

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

      .. oe:api::

         OESystem::OERole OEMolComplexModelRoleFactory(unsigned model)

   .. oe:language:: python

      .. oe:api:: python

         OEMolComplexModelRoleFactory(model: int) -> OERole

   Returns an :ref:`OERole <OESystem_OERole>` object
   corresponding to the specified model number
   for use in constructing a functional role filter.

   .. seealso::

      * :ref:`section_split_mol_complex` section
      * :ref:`OERole <OESystem_OERole>` class
      * :ref:`OEMolComplexFilter <OEBio_OEMolComplexFilter>` class
      * :oe:func:`OEBio::OERoleMolComplexFilterFactory` function

