A3DAsmModelFileExportToGltfFile
-
A3DStatus
A3DAsmModelFileExportToGltfFile(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportGltfData *pParamsExportData, const A3DUTF8Char *pcCADFileName) A3DStatusA3DAsmModelFileExportToGltfFile(constA3DAsmModelFile* pA3DAsmModelFile, constA3DRWParamsExportGltfData* pParamsExportData, constA3DUTF8Char* pcCADFileName)Write a model file to a physical file in GLTF/GLB format.
This function writes the
A3DAsmModelFileentity to a physical file.Return Values
A3D_INITIALIZE_NOT_CALLED:
A3D_INVALID_ENTITY_NULL:
A3D_INVALID_ENTITY_TYPE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_WRITE_INVALID_FILE_NAME:
A3D_WRITE_ERROR:
A3D_WRITE_CANNOT_LOAD_WRITER:
A3D_SUCCESS:
Parameters
pA3DAsmModelFile: References the
A3DAsmModelFileto be written out.pParamsExportData: References the parameters for export.
pcCADFileName: References the path of the file into which the function stores the model file.
Returns
A3D_SUCCESS in case of success or an error code