Category 3D interface, Object ProOutput

Function ProOutputAssemblyConfigurationIsSupported


Description
Checks if the specified assembly configuration may be used for the export file type. Use this function before calling ProIntf3DFileWrite() to confirm that the configuration is supported.
Replacement in Object TOOLKIT: pfcBaseSession::IsConfigurationSupported
Synopsis
#include <ProIntf3Dexport.h>
ProErrorProOutputAssemblyConfigurationIsSupported(
ProIntf3DExportType file_type
/* (In)
The type of output file to produce.
*/
ProOutputAssemblyConfiguration configuration
/* (In)
Specifies the number and type of output files to produce.
*/
ProBoolean* is_supported
/* (Out)
PRO_B_TRUE if the option is supported in Creo Parametric, PRO_B_FALSE if not
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the information.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_NOT_IMPLEMENTEDfile_type interface is currently not supported.
PRO_TK_INVALID_TYPEinvalid file_type.

Manual References:

  1. Interface: Data Exchange: Exporting 3D Models
  2. Interface: Data Exchange: Exporting 3D Models

Sample Code References:

  1. pt_userguide ( UgInterfaceExport.c )