| Description | ||||||||||||||
| Reads a file into Creo Parametric. The format must be the same as if these files were created by Creo Parametric.
NOTES:
|
||||||||||||||
| Replacement in Object TOOLKIT: | pfcModel::Import | |||||||||||||
| pfcBaseSession::LoadConfigFile | ||||||||||||||
| Synopsis | ||||||||||||||
| #include <ProUtil.h> | ||||||||||||||
| ProError | ProInputFileRead | ( | ||||||||||||
| 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: | ||||||||||||||
| */ | ||||||||||||||
| 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. | ||||||||||||||
| */ | ||||||||||||||
| ) | ||||||||||||||
| Returns | ||||||||||||||
|
||||||||||||||
| See Also | ||||||||||||||
| ProSolidRegenerate | ||||||||||||||