Object ProIntf3D

Function ProIntf3DFileWriteWithDefaultProfile


Description
Exports a Creo Parametric model using default export profile.
Synopsis
#include <ProIntf3Dexport.h>
ProErrorProIntf3DFileWriteWithDefaultProfile(
ProSolid solid
/* (In)
The solid model used for export.
*/
ProIntf3DExportType file_type
/* (In)
The type of output file to produce.
*/
ProPath output_file
/* (In)
The output file name to produce. Optionally, this includes the path for the file location. The filename should not include the file extension, this will be added automatically by Creo Parametric.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully exported the Creo Parametric model.
PRO_TK_BAD_INPUTSThe input arguments are invalid.
PRO_TK_NOT_IMPLEMENTEDfile_type interface is currently not supported.
PRO_TK_INVALID_TYPEinvalid file_type.
PRO_TK_BAD_CONTEXTThe function is not available inDesign Test Mode.
PRO_TK_NO_CHANGEThe function did not export the source model asthe up-to-date image in HDIC context already existsfor the specified Creo Parametric source model.
PRO_TK_NO_LICENSEMissing the required license to perform this exportoperation.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Interface: Data Exchange: Exporting 3D Models
  3. Interface: Data Exchange: Exporting 3D Models

Sample Code References:

  1. pt_userguide ( UgInterfaceExport.c )