Documentazione API > 3D interface > Object ProProductview > Function ProProductviewExport
Function ProProductviewExport
DEPRECATED:
Since Wildfire 5.0
Description
NOTE:
This function is deprecated. Use ProProductviewFormattedMdlnameExport() instead.
Exports a part, assembly or drawing to a Creo View format.
Synopsis
#include <ProUtil.h>
ProProductviewExport
(
ProMdl mdl
/* (In)
The model handle. If mdl is a drawing, it must be displayed in a window. Depending upon the model type, following output files are created: Part : .ed file, .ol file Assembly : .ed file, seperate .ol file for each part contained in the assembly Drawing : .ed file, .plt file
*/
ProPath export_dir
/* (In)
The location where the export file(s) will be produced. If NULL, the Creo Parametric working directory is used.
*/
ProName filename
/* (In)
The root of the filename to export (without the extension). If NULL, the Creo Parametric model name is used as the root.
*/
)
Returns
The export succeeded.
One or more input arguments is invalid.
Model not displayed in any window.
pro2prod_view.dll not found
pro2prod_view.dll could not be loaded
The function does not have permission to operate on this model.
Sample Code References
User Guide References
È stato utile?