NX Enable Region Coolant in Post Builder

2021-10-06T23:27:39Z
NX for Manufacturing

Summary


Details

Region Coolant does not support AIR or AIRTHRU coolant in OOTB Post Builder.

Solution

To add this functionality, do the following:
  1. Add a new custom command in Start of program.
  2. Inside of the procedure with an uplevel, overwrite the existing MOM_coolant_on eventhandler and set 2 new variables for AIR and AIR THRU which are used in the standard Blocktemplates.
  3. The set the initial M-codes for Air and AirThru in the top.
Now it should work.


Here is the code from the procedure for easy copying:


set ::mom_sys_coolant_code(AIR)                 "11"
set ::mom_sys_coolant_code(AIRTHRU)             "12"
 
uplevel #0 {
#=============================================================
proc MOM_coolant_on { } {
#=============================================================
   COOLANT_SET
       if {[info exists ::mom_coolant_text_defined] && $::mom_coolant_text_defined == 1} {
        if {$::mom_coolant_text == "AIR"} {
            if {$::mom_coolant_mode == "ON"} {
                set ::mom_coolant_mode "AIR"
            } elseif {$::mom_coolant_mode == "THRU"} {
                set ::mom_coolant_mode "AIRTHRU"
            }
        }
    }
}
}

Additional note: It may be necessary to change the expression for the word M_coolant (see image below).


Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: CAM
Version: V1899
Function: POSTBUILDER

Ref: 002-8171824

KB Article ID# PL8171824

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder