|
INcModel::ConvertCSVCutters2CHL
Description
Allows you to convert a given CSV file to a CHL file and/or to the NC cutters paste buffer.
Syntax
T_NcConvertCSV2CHLResult aConvertStatus = ConvertCSVCutters2CHL(iInputFile, iOutputFile, iCHLCreate, iPaste, iConflictMethod);
Input: (String) iInputFile |
The full path name of the source CSV file. The file should be an existing CSV file that is in the Cimatron cutters CSV format. |
Input: (String) iOutputFile |
The full path name of the destination CHL file. This can be an existing file or a new file. In the case of an existing file, the items from the CSV will be added to CHL file (the existing file can be empty if iCHLCreate is false). |
Input: (boolean) iCHLCreate |
If true, import the items from the CSV file to the CHL file. |
Input: (boolean) iPaste |
If true, import the items from the CSV file to the "paste buffer". |
Input: (integer) iConflictMethod |
Define the action if the target CHL file already exists and contains an item (eg. cutter) with the same name. The value of iConflictMethod can be one of the options in the enum NcConflictMethod. |
Return: (T_NcConvertCSV2CHLResult) |
Returns a Status struct. |
Note: See the example CutterApi2EDemo files.
|