I understand that there are a few specifically named user-modifiable PCL files (e.g., p3patran.pcl) that gets executed when Patran starts up. Is there also a PCL file that Patran executes when the program exits? I'd like to delete some unwanted misc files in the working directory when Patran exits and I was hoping I could do that with an exit PCL file.
You can create a function called "user_quit" which will execute your PCL when Patran exits. Attached is a very simple example that creates a text file.