A3DAsmModelFileExportTo3mfFile

A3DStatus A3DAsmModelFileExportTo3mfFile(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExport3mfData *pParamsExportData, const A3DUTF8Char *pcCADFileName)
A3DStatus A3DAsmModelFileExportTo3mfFile(const A3DAsmModelFile* pA3DAsmModelFile, const A3DRWParamsExport3mfData* pParamsExportData, const A3DUTF8Char* pcCADFileName)

Write a model file to a physical file in 3MF format.

This function writes the A3DAsmModelFile entity 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 A3DAsmModelFile to 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