Entity PDF IDs

Functions

A3DStatus

A3DEntityGetPDFNodeIdFromWrite

A3DStatus

A3DEntityGetPDFNodeIdFromRead

Detailed Description

group a3d_entity_pdfid

Function Documentation

A3DStatus A3DEntityGetPDFNodeIdFromWrite(const A3DEntity *pEntity, const A3DEntity *pEntityFather, const A3DRWParamsPrcWriteHelper *pA3DRWParamsPrcWriteHelper, A3DUTF8Char **pcUTF8Name)

Gets the PDF node unique IDs for the entities.

Given a pointer to the PRC entity, this function gets the unique name that will be used in the PDF scene graph. This function must be used AFTER the PRC file has been created from the model file.

Version

4.1

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.

  • pcUTF8Name[out] The identifier as a string.

Return values

A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code

A3DStatus A3DEntityGetPDFNodeIdFromRead(const A3DEntity *pEntity, const A3DEntity *pEntityFather, const A3DRWParamsPrcReadHelper *pA3DRWParamsPrcReadHelper, A3DUTF8Char **pcUTF8Name)

Gets the PDF node unique IDs for the entities.

Given a pointer to the PRC entity, this function gets the unique name that will be used in the PDF scene graph. This function must be used AFTER the PRC file has been created from the model file.

Version

9.2

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.

  • pA3DRWParamsPrcReadHelper[in] The pointer to the helper object generally built by the function A3DAsmModelFileLoadFromPrcStream.

  • pcUTF8Name[out] The identifier as a string.

Return values

A3D_SUCCESS

Returns

A3D_SUCCESS in case of success or an error code