A3DAsmModelFileLoadFromMultiplePrcFile
-
A3DStatus
A3DAsmModelFileLoadFromMultiplePrcFile(const A3DUTF8Char *pcFileName, const A3DUns32 uNbPart, const A3DUTF8Char **ppCADFilePath, const A3DUTF8Char **ppPRCFilePath, const A3DRWParamsLoadData *pParamsLoadData, A3DAsmModelFile **pA3DAsmModelFile) A3DStatusA3DAsmModelFileLoadFromMultiplePrcFile(constA3DUTF8Char* pcFileName, constA3DUns32uNbPart, constA3DUTF8Char** ppCADFilePath, constA3DUTF8Char** ppPRCFilePath, constA3DRWParamsLoadData* pParamsLoadData,A3DAsmModelFile** pA3DAsmModelFile)Creates a model file from multiple PRC files + an PRC assembly file + a map for file names.
This function replugs all the parts from a list from a PRC file loaded with an “assembly tree only” mode.
Parameters
pcFileName: The file name of the top assembly file. Conceived for model file loaded as assembly tree only and saved as a PRC file.
uNbPart: The number of file names to plug.
ppCADFilePath: The native part file paths. Length must equal uNbPart.
ppPRCFilePath: The equivalent PRC file paths for parts. Length must equal uNbPart.
pParamsLoadData: The read/write parameters use the model file. Configurations must be set (default or numEntries = 1).
pA3DAsmModelFile: The final reassembled model file.
Returns
A3D_SUCCESSon success, or an error code on failure