Creo NC Sheetmetal > Manufacturing Information > To Include Pre and Post Machining Files
To Include Pre and Post Machining Files
You can use parameters to specify the pre and post files. Under the Oper tabbed page of the SMT MFG MACHINING dialog box, you can find these parameters. You can include user-defined macros, like setting the post-processor registers, at the very beginning and the very end of an NC sequence CL file, using the two parameters:
PRE_MACHINING_FILE—Enter the name of the file you want to include at the very beginning of the CL file.
POST_MACHINING_FILE—Enter the name of the file you want to include at the very end of the CL file.
Enter file names without the extension. If you specify the file in the config.pro file it should have the extension.ncl, or the default CL file extension.
The contents of these files are included in the CL file of the current NC sequence between $$ —> BLOCK_START and $$ —> BLOCK_END. When you use the Input option in the CL DATA menu to read a CL file, these contents are ignored.
* 
Both of these files are included into a CL file before it goes to the post-processor.
If these parameters are set at the operation level, pre- and post-machining files are added to each NC sequence included in the operation.
這是否有幫助?