Cancel
Showing results for 
Search instead for 
Did you mean: 

【Post Builder】How can I output the group name through the TCL command

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hello everybody

 

How can I output the NC program by TCL command.

Do not output the top-level group name _...

I want the output A1.nc     A2.nc  ......

 

a0.pnga1.png

 

4 REPLIES 4

Re: 【Post Builder】How can I output the group name through the TCL command

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

The naming is handled in the system file "%UGII_BASE_DIR%\MACH\resource\postprocessor\ugpost_base.tcl" in procedure "OPEN_files". look for variable "mom_sys_group_output".

Might be best to create your own Tcl file containing a customized version of the procedure and source it in.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX12.0.2, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX (1876) | AWC 3.4 Preparing: -

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: 【Post Builder】How can I output the group name through the TCL command

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

I know this method,I want to embed it directly in the reprocessing.

How do I do that?

Re: 【Post Builder】How can I output the group name through the TCL command

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Copy the entire OPEN_files procedure to the user TCL file that is sourced by the post-processor.source_user_tcl.PNG

 

 

Change the line:

set grp_ptp_name "${mom_output_file_basename}_${group_name_lowercase}${output_extn}"

To:

set grp_ptp_name "${group_name_lowercase}${output_extn}"

That is all.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX12.0.2, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX (1876) | AWC 3.4 Preparing: -

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: 【Post Builder】How can I output the group name through the TCL command

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

thanks

Learn online





Solution Information