This function generates the NC program for all the operations contained in
the specified group of the specified setup. It will use the Post (i.e., the
Definition File and Event Handler) specified by 'post_name'. It will write
the generated NC Program to a file with name 'output_filename'. If
'output_filename' exists the output will be appended to the existing file.
If the behavior wanted is to overwrite the exsiting file, then the user
has to delete the file before calling this function.
See the Note in the File Description regarding the relationship between the
'post_name' and the CAM resource files.
tag_t setup Input - the setup object to process
tag_t group Input - the program group to process
const char * post_name Input - the name (as found in a resource file) of
the post instructions to use. This name
specifies the Definition File and Event
Handler file to use
const char * output_filename Input - the name of the file to write the
output to
UF_SETUP_output_units_t output_units Input - the output units for the
Post to use