Category 3D interface, Object ProIntf3D

Function ProIntf3DFileWrite


DEPRECATED: Since Creo 5.0.0.0
SUPERSEDED BY: ProIntf3DFileWriteWithDefaultProfile
Description
Note: This function is deprecated. Exports a Creo Parametric model using the specified options.
Synopsis
#include <ProIntf3Dexport.h>
ProErrorProIntf3DFileWrite(
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.
*/
ProOutputAssemblyConfiguration configuration
/* (In)
Specifies the number and type of output files to produce. Users should check that this option is valid for the type of output specified in file_type by using the function ProOutputAssemblyConfigurationIsSupported(). If file_type == PRO_INTF_EXPORT_CADDS or PRO_INTF_EXPORT_NEUTRAL, this value is ignored by Creo Parametric. An assembly is exported as a single file for PRO_INTF_EXPORT_DXF and PRO_INTF_EXPORT_DWG formats
*/
ProSelection reference_csys
/* (In)
The reference coordinate system. If NULL, the system uses the default coordinate system. If file_type == PRO_INTF_EXPORT_CADDS or PRO_INTF_EXPORT_NEUTRAL, this should be NULL.
*/
ProOutputBrepRepresentation brep_representation
/* (In)
The options that specify the type of representation to create. Users should check that these options are valid for the type of output specified in file_type by using the function ProOutputBrepRepresentationIsSupported(). If file_type == PRO_INTF_EXPORT_CADDS or PRO_INTF_EXPORT_NEUTRAL, this should be NULL.
*/
ProOutputInclusion inclusion
/* (In)
The options for:

entity inclusion or exclusion in the output file(s);

quality control values;

config flags.

If file_type == PRO_INTF_EXPORT_CADDS or PRO_INTF_EXPORT_NEUTRAL, this should be NULL.

If this is NULL, the facet export will be governed by Creo Parametric config options and default quality control values.

*/
ProOutputLayerOptions layer_options
/* (In)
The options that specify how layers are to be output. If file_type == PRO_INTF_EXPORT_CADDS or PRO_INTF_EXPORT_NEUTRAL, this should be NULL.
*/
)
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 in Design Test Mode.
PRO_TK_NO_CHANGEThe function did not export the source model as the up-to-date image in HDIC context already exists for the specified Creo Parametric source model.
PRO_TK_NO_LICENSEMissing the required license to perform this export operation.

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