
################################################
A3DAsmModelFileExportToParasolidBufferWithMapper
################################################

.. c:function:: A3DStatus A3DAsmModelFileExportToParasolidBufferWithMapper(const A3DAsmModelFile *pA3DAsmModelFile, A3DMiscPKMapper *pMapper, const A3DRWParamsExportParasolidData *pParamsExportData, A3DChainedBuffer **pBuffer)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DAsmModelFileExportToParasolidBufferWithMapper(*const* :c:type:`~A3DAsmModelFile`\ * **pA3DAsmModelFile**\ , :c:type:`~A3DMiscPKMapper`\ * **pMapper**\ , *const* :c:struct:`~A3DRWParamsExportParasolidData`\ * **pParamsExportData**\ , :c:type:`~A3DChainedBuffer`\ ** **pBuffer**\ )
   
   Writes a model file to a buffer in Parasolid format . 
   
   This function writes the :c:type:`~A3DAsmModelFile` entity to a physical file. This function uses the PK bodies already converted and stored in the pMapper with the :c:type:`~A3DAsmModelFile` structure in order to export them as a Parasolid file.
   
   **Parameters**
   
   
      **pA3DAsmModelFile**\ : References the :c:type:`~A3DAsmModelFile` to be written out. 
   
      **pMapper**\ : Topology entities mapper 
   
      **pParamsExportData**\ : References the parameters for export. 
   
      **pBuffer**\ : Buffer.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




