
#####################
A3DPrcIdMapFindEntity
#####################

.. c:function:: A3DStatus A3DPrcIdMapFindEntity(A3DPrcIdMap const *pEntityMap, A3DPrcId pcSearchedId, A3DEntity **ppSearchedEntityOut, A3DEntity **ppSearchedEntityFatherOut)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPrcIdMapFindEntity(:c:type:`~A3DPrcIdMap`\ * **pEntityMap**\ , :c:type:`~A3DPrcId` **pcSearchedId**\ , :c:type:`~A3DEntity`\ ** **ppSearchedEntityOut**\ , :c:type:`~A3DEntity`\ ** **ppSearchedEntityFatherOut**\ )
   
   Function to get an :c:type:`~A3DEntity` from its corresponding PrcId. 
   
   Due to internal processing, notice that only PrcId returned by the :c:func:`A3DPrcIdMapFindEntity() <A3DPrcIdMapFindEntity>` function should be used
   
   **Parameters**
   
   
      **pEntityMap**\ : Pointer on the entity map generated by the function A3DPrcIdMapCreate 
   
      **pcSearchedId**\ : the Exchange Id of the entity to find 
   
      **ppSearchedEntityOut**\ : a pointer containing a pointer on the :c:type:`~A3DEntity` searched or null if not found 
   
      **ppSearchedEntityFatherOut**\ : a pointer containing a pointer on the Product Occurrence Father of the searched entity or null if not found
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




