NX How to make the Output NC file name as program group name?

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

Summary


Details

How to make the Output NC file name as program group name instead of default part file name?

Solution

Need to add the below Custom Command in the Program End Sequence 
 
 
global ptp_file_name
global mom_output_file_full_name
global mom_group_name
global mom_output_file_directory
global mom_output_file_suffix
 
set tmpout $mom_output_file_directory\\$mom_group_name.$mom_output_file_suffix
MOM_close_output_file $ptp_file_name
file rename -force $mom_output_file_full_name $tmpout
 
It is not listing the NCM, but it will create the NC file in the part location in the name of program group.

Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: CAM
Version: V11.0.2
Function: POSTBUILDER

Ref: 002-8015418

KB Article ID# PL8015418

Contents

SummaryDetails

Associated Components

Manufacturing Post Builder