|
SendToFile Line |
Main Help Table of Contents Previous Next |
|
The SendTo file line is used to send part line information to a file, usually a .csv file or a .txt file. The SendToFile command is used within the cutlist method. We also have reports that will perform a similar function. When the SendToFile line is used in the XX-AfterPart.prt file it can send each and every part to the file, but SendToFile can be used anywhere in the cutlist method. You will have to determine the best place to put the command depending upon what pieces you would like to be sent to the file. The format for the SendToFile command is:
Example #1:
SendToFile command, Path to the file including the file name and the extension, information you want to be sent to the file
SendToFile, #DestinationPath\#JobExportName.CSV,#Number#Comma0#Comma#Comma#UnitNumber#Comma#Name#Comma#Material#Comma#Length#Comma#Width#Comma#Thickness#Comma#DestinationPath
Note: If you would like the file to be a csv file you will need to put the #Comma variable between the different fields to be sent to the file and not an actual comma. An actual comma between the fields will not cause errors but the program will not read any of the information after the third comma.
|
| Main Help Table of Contents Previous Next |