A3DAsmModelFileLoadFromPRCFiles
-
A3DStatus
A3DAsmModelFileLoadFromPRCFiles(const A3DUTF8Char *pcRootPrcFilePath, const A3DUns32 uNbFile, const A3DUTF8Char **ppPRCFilePath, const A3DUTF8Char **ppCADFilePath, const A3DRWParamsLoadData *pParamsLoadData, A3DAsmModelFile **pA3DAsmModelFile) A3DStatusA3DAsmModelFileLoadFromPRCFiles(constA3DUTF8Char* pcRootPrcFilePath, constA3DUns32uNbFile, constA3DUTF8Char** ppPRCFilePath, constA3DUTF8Char** ppCADFilePath, constA3DRWParamsLoadData* pParamsLoadData,A3DAsmModelFile** pA3DAsmModelFile)Creates a model file from multiple PRC files + a PRC assembly file + a map for file names.
This function inserts all the parts and product occurrences from a file list into a single PRC assembly file loaded in “assembly NO Dependency” mode and outputs a reassembled model file.
Parameters
pcRootPrcFilePath: The file name of the top assembly file. This model file is loaded as assembly tree only and saved as a PRC file.
uNbFile: The number of file names to plug into the assembly.
ppPRCFilePath: The equivalent PRC file paths for parts. Length must equal uNbFile.
ppCADFilePath: The native part file paths. Length must equal uNbFile.
pParamsLoadData: The parameters to use when reading the model files. Configuration must be set to read the default entry or must only specify a single entry to read.
pA3DAsmModelFile: The final reassembled model file.
Returns
A3D_SUCCESSon success, or an error code on failure