.. _group__a3d__adapt__and__replace__all__brep__in__modelfile:

#########################################
Adapt and replace all B-rep in model file
#########################################

**Parameters**


   **pModelFile**\ : The source model file to adapt.

   **psSetting**\ : The structure that defines which types of B-rep you would like to convert to.


**Returns**


   ``A3D_SUCCESS``\ on success, or an error code on failure


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DCopyAndAdaptBrepModelErrorData`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DAdaptAndReplaceAllBrepInModelFile`
* :c:func:`~A3DAdaptAndReplaceAllBrepInModelFileAdvanced`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DCopyAndAdaptBrepModelErrorData
   ../functions/A3DAdaptAndReplaceAllBrepInModelFile
   ../functions/A3DAdaptAndReplaceAllBrepInModelFileAdvanced


