AutoSaveFile
This method is used to save the NC file geneated inside a folder after post processing.
Normally after post processing NC programs are only displayed inside MANUSpost user interface. They are not saved yet in a folder.
And we normally do not use this method in our post processors. End users save their NC programs on their own after the NC program is displayed on the MANUSpost UI.
When you use this method, you can automatically save the NC programs generated to a folder (path) you define.
This method gets 3 parameters.
First one is the “File name”. This File name is the name defined inside “NC Output Settings”. By default, file name gets values like “File1”, “File2” etc, however you can also define file name on your own again inside “NC Output Settings”. Second parameter is the file path, which you will save your NC program. If you want you can set a fix location for saving NC programs or you can also get the selected APT/CL file location using “Program.FilePath” or “Information.FilePath” variables and you can save the NC programs in the same folder with the APT/CL file. Third parameter is the “True” or “False” selection. As mentioned above, the Ncprograms are already displayed inside MANUSpost user interface when you do not use this method. When you use this method, and select this paremeter as “True”, you will continue to see the NC program generated inside MANUSpost user interface. However, when you use this method and select this parameter as False, you will not see the NC program in the UI.
Regardless of where you define the “AutoSaveFile” method, “AutoSaveFile” saves the NC program only after post-processing is complete.
Note that: If you are using CAM integration module of MANUSpost, you no longer need to open the MANUSpost UI, and NC programs are automatically created inside the files (paths) you’ve selected inside our CAM integration module.