Cancel
Showing results for 
Search instead for 
Did you mean: 

[Post Builder] Program group name

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator

Hi

 

I want to print the group name under the program group.

Is there a way to print it?

 

program_group.jpg

 

 

How do I set it up in Post Builder?

Thank you for your help

4 REPLIES

Re: [Post Builder] Program group name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

try "mom_group_name" or "mom_parent_group_name"

or define a proc for MOM_start_of_group

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: [Post Builder] Program group name

Pioneer
Pioneer

Ken, does this only work for PB?

 

Cannot get it to respond  or take it without an alarm in .tcl file output.
I ran the debug and mom_review and I see that it is present to grab...

Maybe my setup is not right. Not sure.

Re: [Post Builder] Program group name

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

In which event are you using the variable?

Did you specify it as global variable?

Did you check that it exists before you use it?

Can you post the portion of the NX syslog that complains about the variable?

An example entry is shown below:

************* MOM: TCL SCRIPT MESSAGE *************
User message: can't read "mom_contact_status": no such variable
    while executing
"# Compiled -- no source code available
error "called a copy of a compiled script""
    (procedure "LIB_SPF_center_of_ball_output" line 1)
    invoked from within
"# Compiled -- no source code available
error "called a copy of a compiled script""
    (procedure "MOM_before_motion" line 1)
    invoked from within
"MOM_before_motion"

Hope this helps.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, 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: NX12.0 | AWC 3.4 Preparing: NX12.0

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] Program group name

Pioneer
Pioneer

Thanks, That was my problem

Was trying to pull from the wrong group The variable was not in the first group. Moved it to the second. Now it reports.

Thanks for the heads up. I think I am catching on.

Learn online





Solution Information