Skip to main content
10-Marble
March 27, 2025
Question

Creo 11 - menu_def.pro error

  • March 27, 2025
  • 1 reply
  • 473 views

Upgraded to Creo 11: 

  Config defaults:

      new_parameter_ui no
      new_relation_ui no

 

Adding appending text to relation file no longer works:   

 

 Menu_def.pro :

@ setbutton RELATIONS BLOWMOLD "#Misc;#Trail;C:\ptc\qo_text\proc_labels-2018\blow_molded_2018.txt;"\
"Reads in the relations for BLOWMOLD defaults "

 

Is this no longer supported?

1 reply

tbraxton
22-Sapphire II
22-Sapphire II
March 27, 2025

Menu_def.pro is still supported in Creo 11. It may be the command sequence that is the issue, it is referencing old menu manager commands (#Misc;#Trail). Does it work if you manually load the trail file using the UI in Creo 11? If it works when you do this manually then record the command sequence and update the lines in the @ setbutton definitions.

 

In Creo 11 using the UI follow this sequence using the UI.

  1. In Creo Parametric, click File > Manage Session > Play Trail File. The Open dialog box opens.
  2. Select a trail or training file, and then click Open.
dsalotto10-MarbleAuthor
10-Marble
March 27, 2025

Thanks, TBraxon

 

We've been lugging around old customization techniques for 35 years so sooner or later the old syntax is going to tap out.  We still used wordpad to edit relation files...(yes, old dogs / old tricks) 

 

Our fix is changing to the ui editor and append with a mapkey.   "File/input relation"  and just click the .txt file.  Pretty simple. 

 

Thanks for the reply.