
###################################
A3DAsmGetFilesContextsFromModelFile
###################################

.. c:function:: A3DStatus A3DAsmGetFilesContextsFromModelFile(const A3DAsmModelFile *pA3DAsmModelFile, A3DUns32 *uNbFilesContexts, A3DFileContextData ***ppFilesContexts)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DAsmGetFilesContextsFromModelFile(*const* :c:type:`~A3DAsmModelFile`\ \* **pA3DAsmModelFile**\ , :c:type:`~A3DUns32`\ \* **uNbFilesContexts**\ , :c:struct:`~A3DFileContextData`\ \*\*\* **ppFilesContexts**\ )
   
   Extract all the files contexts (RefSet, Configs...) from a model file.
   
   **Parameters**
   
   
      **pA3DAsmModelFile**\ : The input model file. Can be "tree only":c:type:`~A3DAsmModelFile`\ .
   
      **uNbFilesContexts**\ : The number of files contexts detected. (must not be NULL)
   
      **ppFilesContexts**\ : The file contexts. (must not be NULL)
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




