A3DPrcIdMapFindEntity

A3DStatus A3DPrcIdMapFindEntity(A3DPrcIdMap const *pEntityMap, A3DPrcId pcSearchedId, A3DEntity **ppSearchedEntityOut, A3DEntity **ppSearchedEntityFatherOut)
A3DStatus A3DPrcIdMapFindEntity(A3DPrcIdMap* pEntityMap, A3DPrcId pcSearchedId, A3DEntity** ppSearchedEntityOut, A3DEntity** ppSearchedEntityFatherOut)

Function to get an:c:type:~A3DEntityfrom 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:~A3DEntitysearched 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