.. _group__a3d__modelfile:

##########
Model File
##########

Reads and writes a physical file containing a PRC model file; and creates and accesses model file entities. 

The :c:type:`~A3DAsmModelFile` is the root entity of the PRC data. It is the starting point for parsing a PRC file. It is also one of the arguments used to create a 3D annotation within a PDF document.

Entity type is :c:enumerator:`~kA3DTypeAsmModelFile`\ . 

**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


.. rst-class:: kind-group kind-topic

.. rubric:: Topics
   :class: kind-group-title


.. rst-class:: api-xref-list


* :ref:`Model tree helper <group__a3d__modelfile__helper>`

.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DAsmModelFileData`

.. rst-class:: kind-group kind-enumeration

.. rubric:: Enumerations
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:enum:`~A3DEModellerType`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DAsmModelFileCreate`
* :c:func:`~A3DAsmModelFileDelete`
* :c:func:`~A3DAsmModelFileUnloadParts`
* :c:func:`~A3DAsmModelFileGetUnit`
* :c:func:`~A3DUnitGetFromValue`
* :c:func:`~A3DUnitGetFromEnum`

.. toctree::
   :maxdepth: 1
   :hidden:

   a3d_modelfile_helper
   ../structures/A3DAsmModelFileData
   ../enums/A3DEModellerType
   ../functions/A3DAsmModelFileCreate
   ../functions/A3DAsmModelFileDelete
   ../functions/A3DAsmModelFileUnloadParts
   ../functions/A3DAsmModelFileGetUnit
   ../functions/A3DUnitGetFromValue
   ../functions/A3DUnitGetFromEnum


