
#########################
A3DPDFGetEntitiesFromName
#########################

.. c:function:: A3DStatus A3DPDFGetEntitiesFromName(A3DAsmModelFile *pModelFile, A3DInt32 iNamesSize, A3DUTF8Char **ppNames, A3DInt32 *piIndexes, A3DPDFTargetEntity ****ppTargetEntities, A3DInt32 **ppiDataSizes)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFGetEntitiesFromName(:c:type:`~A3DAsmModelFile`\ \* **pModelFile**\ , :c:type:`~A3DInt32` **iNamesSize**\ , :c:type:`~A3DUTF8Char`\ \*\* **ppNames**\ , :c:type:`~A3DInt32`\ \* **piIndexes**\ , :c:type:`~A3DPDFTargetEntity`\ \*\*\*\* **ppTargetEntities**\ , :c:type:`~A3DInt32`\ \*\* **ppiDataSizes**\ )
   
   Utility function to retrieve the targets from their names.
   
   **Parameters**
   
   
      **pModelFile**\ : The model file which contains the targets.
   
      **iNamesSize**\ : The number of names.
   
      **ppNames**\ : An array of names of size ``iNamesSize``\ .
   
      **piIndexes**\ : If the targeted entity had sons, index of the son in the model file tree. Must be -1 if no sons are wanted.
   
      **ppTargetEntities**\ : The targeted entities retrieved. If several entities in the model file tree have the same name, all these entities are in the array.
   
      **ppiDataSizes**\ : For each name, the number of found entities.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




