A3DAsmModelFileLoadFromPrcFile

A3DStatus A3DAsmModelFileLoadFromPrcFile(const A3DUTF8Char *pcFileName, A3DRWParamsPrcReadHelper **ppPrcReadHelper, A3DAsmModelFile **ppModelFile)
A3DStatus A3DAsmModelFileLoadFromPrcFile(const A3DUTF8Char* pcFileName, A3DRWParamsPrcReadHelper** ppPrcReadHelper, A3DAsmModelFile** ppModelFile)

Load an A3DAsmModelFile from a PRC physical file.

This function loads an A3DAsmModelFile from a PRC file. The file must be in PRC format.

Return Values

A3D_INITIALIZE_NOT_CALLED:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_ENTITY_NULL:

A3D_LOAD_CANNOT_ACCESS_CADFILE:

A3D_LOAD_CANNOT_LOAD_MODEL:

A3D_LOAD_CANNOT_LOAD_MULTIENTRY:

A3D_LOAD_EMPTY_MULTI_MODEL:

A3D_LOAD_FILE_TOO_OLD:

A3D_LOAD_FILE_TOO_RECENT:

A3D_LOAD_INVALID_FILE_FORMAT:

A3D_LOAD_MISSING_COMPONENTS:

A3D_LOAD_MULTI_MODELS_CADFILE: if the file contains multiple entries (see A3DRWParamsMultiEntriesData).

A3D_LOAD_READER_NOT_IMPLEMENTED:

A3D_SUCCESS:

Parameters

pcFileName: References the path to the file containing the 3D CAD model.

ppPrcReadHelper: Reserved for future use.

ppModelFile: References a pointer into which should be stored the location of the model file. Set this pointer to null before calling the function.

Returns

A3D_SUCCESS in case of success or an error code