A3DSDKTools.h

Detailed Description

Tool section.

Author
Tech Soft 3D
Version
25.4
Date
May 2025
Copyright
Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc. All rights reserved.

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 on success, or an error code on failure