cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

Creo 11 - menu_def.pro error

dsalotto
10-Marble

Creo 11 - menu_def.pro error

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?

2 REPLIES 2
tbraxton
22-Sapphire I
(To:dsalotto)

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.
========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

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.     

Announcements

Top Tags