Entity PRC IDs

Functions

A3DStatus

A3DEntityGetPrcIdFromWrite

Detailed Description

group a3d_entity_prcid

Function Documentation

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.

Version

24.0

Parameters
  • pEntity[in] The pointer to the PRC entity

  • pEntityFather[in] The pointer to the product occurrence owner to the PRC entity. NULL if pEntity is a product occurrence.

  • pA3DRWParamsPrcWriteHelper[in] The pointer to the helper object generally built by the function A3DAsmModelFileExportToPrcFile.

  • ppcPrcId[out] The identifier as a string.

Return values

A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code