A PERFECT HEIGHT FOR DAY OR NIGHT 2.75" heels are great for the office professionals or for going out

THE SAFE WAY TO STEP OUT --Re-Design Non-slip rubber soles keep you on your feet even if it's wet outside. Not only are the DailyShoes Pointed Toe Non-Slip Pumps Shoes elegant and chic

LENGTHEN YOUR LEGS Pointed toe gives you the illusion of longer legs for a sexy silhouette.

STYLISH CONTRAST HEELS Stacked wood-look heels make an eye-catching contrast with the premium vegan leather shoe. Made out of premium vegan leather

A CLASSIC LOOK Gorgeous solid color pumps come in 11 designer colors to give you a pair to go with everything. The DailyShoes Pointed Toe Non-Slip Pumps Shoes is a classic pump design with a pointed toe that will make your legs look long

1) In post builder, try turning on "Output settings" -> "Other options" -> "Generate Group Output". Split your operations up into groups as needed.I don't know, but that may get you close...

2) Write code that closes the "main" output file at the appropriate point, then opens a 2nd file, outputs to the 2nd file for the "subroutine", then closes it and re-opens the main when it should be done. In "End of program" glom the subroutine file(s) back into the main using "regular" tcl code. (you could try saving the output in a tcl variable instead of writing to a 2nd file, but if your program is huge, I don't know the memory/performance implications of doing that. But the variable would be easier to "write" back to the main file)

3) You could have a post run a 2nd post (which would create the "main" part of the program) Then the first post would open that same file & output all the subroutines.

All in all, (unless (1) works) you are in for a lot of work, which raises the question "why do you want to do this?"

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.

Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled