Showing results for 
Search instead for 
Do you mean 

Delete Temp file Post Builder



I'm having issues deleting a temp file in the post builder


What i'm trying to do is


post the program

create temp file program name.ptp_ 

save the temp file

make modifications to the temp file program name.ptp_

save as

program name.ptp

Delete the temp file program name.ptp_


The part i can't do is delete the temp file, in my old NX4 post MOM_remove_file $tmp_file_name works, but this does not work in NX10


Can anyone give me any suggestion






Re: Delete Temp file Post Builder

Try the tcl "file" command:

 catch {file delete -force $filename}


Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled

Learn online

Solution Information