A3DGetFileFormat
-
A3DStatus
A3DGetFileFormat(const A3DUTF8Char *pcFileName, A3DEModellerType *peModellerType) Returns the format of a physical file.
Return Values
A3D_INVALID_LICENSE:
A3D_LOAD_CANNOT_ACCESS_CADFILE:
A3D_LOAD_CANNOT_LOAD_MODEL:
A3D_LOAD_CANNOT_LOAD_MULTIENTRY:
A3D_LOAD_EMPTY_MULTI_MODEL:
A3D_LOAD_INVALID_FILE_FORMAT:
A3D_LOAD_MISSING_COMPONENTS:
A3D_LOAD_MULTI_MODELS_CADFILE:
A3D_LOAD_READER_NOT_IMPLEMENTED:
A3D_WRITE_CANNOT_LOAD_WRITER:
A3D_WRITE_ERROR:
A3D_WRITE_WRITER_NOT_IMPLEMENTED:
A3D_SUCCESS:
3.0
Parameters
pcFileName: References the path to the CAD file
peModellerType: References the format of the input CAD file
Returns
A3D_SUCCESSon success, or an error code on failure