A3DEntityGetPrcIdFromWrite

A3DStatus A3DEntityGetPrcIdFromWrite(const A3DEntity *pEntity, const A3DEntity *pEntityFather, const A3DRWParamsPrcWriteHelper *pA3DRWParamsPrcWriteHelper, A3DUTF8Char **ppcPrcId)
A3DStatus A3DEntityGetPrcIdFromWrite(const A3DEntity* pEntity, const A3DEntity* pEntityFather, const A3DRWParamsPrcWriteHelper* pA3DRWParamsPrcWriteHelper, A3DUTF8Char** ppcPrcId)

Gets the PRC node unique IDs for the entities.

Given a pointer to the PRC entity, this function gets the unique prc id that permit to identify it. This function must be used AFTER the PRC file has been created from the model file.

Parameters

pEntity: The pointer to the PRC entity

pEntityFather: The pointer to the product occurrence owner to the PRC entity. NULL if pEntity is a product occurrence.

pA3DRWParamsPrcWriteHelper: The pointer to the helper object generally built by the function A3DAsmModelFileExportToPrcFile.

ppcPrcId: The identifier as a string.

Returns

A3D_SUCCESS on success, or an error code on failure