
ProInputFileReadWithFlags | |
( ProMdl model /* (In) A valid object in memory. */ ProPath filename /* (In) The input file name, including the extension. For some options, this can be the full path to the file. */ ProImportExportFile file_type /* (In) The type of file to be read in. The valid values are as follows: PRO_RELATION_FILE PRO_IGES_SECTION PRO_PROGRAM_FILE PRO_CONFIG_FILE PRO_DWG_SETUP_FILE PRO_SPOOL_FILE PRO_CABLE_PARAMS_FILE PRO_CONNECTOR_PARAMS_FILE PRO_ASSEM_TREE_CFG_FILE PRO_WIRELIST_FILE SLD_VARIANT_FILE */ int flags /* (In) Bitwise flags or PRO_IMPORT_EXPORT_NO_FLAGS. */ ProAppData arg1 /* (In) The application data. 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) The application data. 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 a wchar_t* to the cable name. If file_type is PRO_RELATION_FILE, arg2 is the int* pointing to feature ID. Pass it NULL to get relations of model. */ ProAppData arg3 /* (In) The application data. If file_type PRO_RELATION_FILE, arg3 is a int*. If it points to 1 then relations in the file should be added to the current relations, else the relations in the file should replace the current relations. */ ProAppData arg4 /* (In) Unused. */ ) |

The function successfully processed the file. | |
A general error occurred and the function failed. | |
The input filename length is too long for this import file type. | |
The file format selected is no longer supported on this platform. |


