
################################
A3DAsmModelFileExportToPrcStream
################################

.. c:function:: A3DStatus A3DAsmModelFileExportToPrcStream(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DUTF8Char **pcStream, A3DUns32 *uLength, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DAsmModelFileExportToPrcStream(*const* :c:type:`~A3DAsmModelFile`\ \* **pA3DAsmModelFile**\ , *const* :c:struct:`~A3DRWParamsExportPrcData`\ \* **pParamsExportData**\ , :c:type:`~A3DUTF8Char`\ \*\* **pcStream**\ , :c:type:`~A3DUns32`\ \* **uLength**\ , :c:type:`~A3DRWParamsPrcWriteHelper`\ \*\* **ppPrcWriteHelper**\ )
   
   Writes a model file to a stream buffer in a PRC format.
   
   This function writes the :c:type:`~A3DAsmModelFile`\ entity to a PRC stream buffer.
   
   **Parameters**
   
   
      **pA3DAsmModelFile**\ : References the :c:type:`~A3DAsmModelFile`\ to be written out.
   
      **pParamsExportData**\ : References the parameters for export.
   
      **pcStream**\ : Buffer containing the PRC content.
   
      **uLength**\ : Length of the pcStream.
   
      **ppPrcWriteHelper**\ : Used to get PRC data such as unique identifiers of PRC nodes.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




