NX Post depends heavily on procedures in the ugpost_base.tcl file. This file is located in the mach/postprocessor directory. The system uses it to support the file I/O and other basic functions. This is updated with each NX release, and should not be modified. It is possible to overwrite procedures in this file through tcl programming, but this is not recommended. You can overwrite these procedures with a user created tcl file or by using the uplevel feature of tcl. When any of the procedures in ugpost_base.tcl are overwritten by the procedures in the postprocessor we no longer guarantee that the post will continue to work correctly from one release to the next. Some of the critical files that may cause problems when modified are:
proc MOM_start_of_program
proc MOM_end_of_program
proc MOM_start_of_group
proc MOM_end_of_group
proc MOM_before_output
proc MOM_opskip_on
proc MOM_opskip_off
proc MOM_insert
proc MOM_pprint
proc MOM_operator_message
proc MOM_before_motion
proc MOM_first_move
proc ASK_DELTA_4TH_OR_5TH axis_no
proc ASK_SMALLER_OF_4TH_5TH
proc ASK_DELTA_MOVE
proc ASK_FEEDRATE_FPM
proc ASK_FEEDRATE_FPR
proc SUPER_FEED_MODE_SET
proc FEEDRATE_SET
proc CYCLE_SET
proc CIRCLE_SET
proc COOLANT_SET
proc CUTCOM_SET
proc TOOL_SET evt_name none
proc SPINDLE_SET
proc WORKPLANE_SET
proc RAPID_SET
proc SEQNO_RESET
proc SEQNO_SET
proc MODES_SET
proc CHECK_OPER_TYPE
proc MOM_catch_warning
proc OPEN_files
proc CLOSE_files
proc LIST_FILE
proc LIST_FILE_HEADER
proc LIST_FILE_TRAILER
proc PPRINT_OUTPUT
proc isset v1
proc hiset v1
proc fmt v1 f1
proc CASE v1
proc MOM_text
proc EQ_is_equal
proc EQ_is_ge
proc EQ_is_gt
proc EQ_is_le
proc EQ_is_lt
proc EQ_is_zero
proc VEC3_add
proc VEC3_cross
proc VEC3_dot
proc VEC3_init
proc VEC3_is_equal
proc VEC3_is_zero
proc VEC3_mag
proc VEC3_negate
proc VEC3_scale
proc VEC3_sub
proc VEC3_unitize
proc MTX3_init_x_y_z
proc MTX3_is_equal
proc MTX3_multiply
proc MTX3_transpose
proc MTX3_scale
proc MTX3_sub
proc MTX3_add
proc MTX3_vec_multiply
proc MTX3_x
proc MTX3_y
proc MTX3_z