A3DGetFileInformation

A3DStatus A3DGetFileInformation(const A3DUTF8Char *pcFileName, A3DFileInformationData *pFileInformationData)
A3DStatus A3DGetFileInformation(const A3DUTF8Char* pcFileName, A3DFileInformationData* pFileInformationData)

Get file information a CAD file.

The modeller type is provided for all formats. The other members are filled depending on format and availability of the information. For details see A3DFileInformationData.

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:

8.2

Parameters

pcFileName: References the path to the CAD file

pFileInformationData: References the information of the input CAD file

Returns

A3D_SUCCESS on success, or an error code on failure