A3DPDFGetEntitiesFromName
-
A3DStatus
A3DPDFGetEntitiesFromName(A3DAsmModelFile *pModelFile, A3DInt32 iNamesSize, A3DUTF8Char **ppNames, A3DInt32 *piIndexes, A3DPDFTargetEntity ****ppTargetEntities, A3DInt32 **ppiDataSizes) A3DStatusA3DPDFGetEntitiesFromName(A3DAsmModelFile* pModelFile,A3DInt32iNamesSize,A3DUTF8Char** ppNames,A3DInt32* piIndexes,A3DPDFTargetEntity**** ppTargetEntities,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