
#####################
A3DAsmModelFileCreate
#####################

.. c:function:: A3DStatus A3DAsmModelFileCreate(const A3DAsmModelFileData *pData, A3DAsmModelFile **ppModelFile)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DAsmModelFileCreate(*const* :c:struct:`~A3DAsmModelFileData`\ \* **pData**\ , :c:type:`~A3DAsmModelFile`\ \*\* **ppModelFile**\ )
   
   Creates a new :c:type:`~A3DAsmModelFile`\ using the data in the given :c:struct:`~A3DAsmModelFileData`\ structure.
   
   By creating a model file, you are responsible of deleting it later with :c:func:`~A3DAsmModelFileDelete`\ .
   
   The new model file must have a root product occurrence. If the input data doesn't contain any, :c:func:`~A3DAsmModelFileCreate`\ will implicitly create one. This new product occurrence can be retrieved back on calling ``A3DAsmModelFileGet``\ with ``ppModelFile``\ .
   
   **Parameters**
   
   
      **pData**\ : The data used to create the model file.
   
      **ppModelFile**\ : a handle to the newly created model file.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




