
############################################
A3DAdaptAndReplaceAllBrepInModelFileAdvanced
############################################

.. c:function:: A3DStatus A3DAdaptAndReplaceAllBrepInModelFileAdvanced(A3DAsmModelFile *p, const A3DCopyAndAdaptBrepModelData *psSetting, A3DUns32 *puiNbErrors, A3DCopyAndAdaptBrepModelErrorData **pErrors)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DAdaptAndReplaceAllBrepInModelFileAdvanced(:c:type:`~A3DAsmModelFile`\ \* **p**\ , *const* :c:struct:`~A3DCopyAndAdaptBrepModelData`\ \* **psSetting**\ , :c:type:`~A3DUns32`\ \* **puiNbErrors**\ , :c:struct:`~A3DCopyAndAdaptBrepModelErrorData`\ \*\* **pErrors**\ )
   
   Entity Convert to NURBS facility.
   
   Same as :c:func:`~A3DAdaptAndReplaceAllBrepInModelFile`\ , but return status of each element in error if :c:member:`A3DCopyAndAdaptBrepModelData::m_bContinueOnError <A3DCopyAndAdaptBrepModelData.m_bContinueOnError>`\ is set to true
   
   puiNbErrors return the number of B-rep in error
   
   pErrors corresponds to the list of error for each B-rep
   
   **Parameters**
   
   
      **p**\ : A pointer to the model file
   
      **psSetting**\ : The structure that defines which types of B-rep you would like to convert to
   
      **puiNbErrors**\ : Number of B-rep in error
   
      **pErrors**\ : list of errors for each B-rep
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




