
####################################
A3DPkPartsTranslateToA3DAsmModelFile
####################################

.. c:function:: A3DStatus A3DPkPartsTranslateToA3DAsmModelFile(int pNbPkParts, int *pPkParts, A3DRWParamsLoadData *pLoadParam, A3DAsmModelFile **ppA3DAsmModelFile, A3DMiscPKMapper **pMapper)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPkPartsTranslateToA3DAsmModelFile(*int* **pNbPkParts**\ , *int* **pPkParts**\ , :c:struct:`~A3DRWParamsLoadData`\ \* **pLoadParam**\ , :c:type:`~A3DAsmModelFile`\ \*\* **ppA3DAsmModelFile**\ , :c:type:`~A3DMiscPKMapper`\ \*\* **pMapper**\ )
   
   Translate Parasolid Parts from parasolid session into an A3DModelFile with a mapper.
   
   This function creates an :c:type:`~A3DAsmModelFile`\ entity from parts of parasolid session and creates a mapper to get links between entities.
   
   **Parameters**
   
   
      **pNbPkParts**\ : References the number of parts.
   
      **pPkParts**\ : References the array of parts.
   
      **pLoadParam**\ : Load parameters.
   
      **ppA3DAsmModelFile**\ : References the :c:type:`~A3DAsmModelFile`\ to be created.
   
      **pMapper**\ : Topology entities mapper
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




