
Replacement in Object TOOLKIT: |

ProOutputFileMdlnameWrite | |
( ProMdl model /* (In) A pointer to the model. PRO_IGES_FILE and PRO_DXF_FILE work for drawings only. PRO_PROGRAM_FILE works for parts and assemblies only. For CL data, this pointer must reference a manufacturing model. */ ProMdlFileName name /* (In) The name of the file to be created (with the extension, but not the version). Must not be NULL or an empty string. If file_type is PRO_IGES_FILE or PRO_DXF_FILE, do not include the extension; it is added automatically. */ ProImportExportFile file_type /* (In) The type of file to be created. The valid values are as follows: PRO_RELATION_FILE PRO_FEATURE_INFO PRO_PROGRAM_FILE PRO_IGES_FILE PRO_DXF_FILE PRO_DWG_FILE PRO_DWG_SETUP_FILE PRO_FEAT_INFO PRO_RENDER_FILE PRO_SLA_ASCII_FILE PRO_SLA_BINARY_FILE PRO_INVENTOR_FILE PRO_CATIAFACETS_FILE PRO_BOM_FILE PRO_MFG_OPER_CL PRO_MFG_FEAT_CL PRO_MATERIAL_FILE PRO_IGES_3D_FILE PRO_STEP_FILE PRO_VDA_FILE PRO_FIAT_FILE PRO_CATIA_DIRECT_FILE PRO_ACIS_FILE PRO_CGM_FILE PRO_SPOOL_FILE PRO_CONNECTOR_PARAMS_FILE PRO_CABLE_PARAMS_FILE PRO_DIFF_REPORT_FILE */ ProAppData arg1 /* (In) If file_type is PRO_RENDER_FILE, PRO_INVENTOR_FILE, PRO_CATIAFACETS_FILE, PRO_SLA_ASCII_FILE or PRO_SLA_BINARY_FILE arg1 is a wchar_t* to a coordinate system name. If this is NULL, the function uses the default coordinate system. If file_type is PRO_SPOOL_FILE, arg1 is a wchar_t* to the spool name. If file_type is PRO_CONNECTOR_PARAMS_FILE, arg1 is a int* pointing to a ProIdTable (ProIdTable is an integer array of component identifiers). If file_type is PRO_CABLE_PARAMS_FILE, arg1 is the ProSolid (part pointer). */ ProAppData arg2 /* (In) If file_type is PRO_FEAT_INFO, PRO_MFG_OPER_CL or PRO_MFG_FEAT_CL arg2 is a int* to the feature ID. If file_type is PRO_RELATION_FILE, arg2 is a int* to the feature ID, to get the relations contained in the feature. Pass NULL to get relations contained in the model. If file_type is PRO_IGES_3D_FILE, PRO_STEP_FILE, PRO_VDA_FILE, PRO_FIAT_FILE, PRO_CATIA_DIRECT_FILE or PRO_ACIS_FILE arg2 is a int* pointing to the number. If file_type is PRO_CGM_FILE, arg2 is a int* pointing to the export type (PROCGMTYPE_CLEAR_TEXT or PROCGMTYPE_MIL_SPEC ie 1 or 2). If file_type is PRO_CONNECTOR_PARAMS_FILE, arg2 is a int* pointing to the number, which is equal to the number of component identifier(s). If file_type is PRO_CABLE_PARAMS_FILE, arg2 is the wchar_t* pointing to the cable name. Please note that the previous use of arg2 and arg3 for quality */ ProAppData arg3 /* (In) If file_type is PRO_CGM_FILE, arg3 is a int* pointing to the scale type (PROCGMTYPE_ABSTRACT or PROCGMTYPE_METRIC ie 3 or 4) */ ProAppData arg4 /* (In) If file_type is PRO_DIFF_REPORT_FILE, this is the model to which the input model will be compared for generation of the difference report. */ ) |

The function successfully exported the file. | |
The function failed. | |
An entity named in arg1 or arg2 does not exist. | |
Some input was incorrect. e.g.: file_type was PRO_CGM_FILE but mdl was not a drawing; assembly did not contain specified part; quality was outside limits. | |
The file format selected is no longer supported on this platform. | |
The function is not available in Design Test Mode. |


