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

Mapkeys & parameters

kimndave9
1-Newbie

Mapkeys & parameters

I created a mapkey to insert a parameter, but the text of the parameter name is not easily readable.

This is a sample:

mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`5505140 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`4718696 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`4784233 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`5439603 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`2097184 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`4784233 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`5439603 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`2097184 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`4259937 ;\
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable`2097184 ;\

Any clues to interpreting this?

Dave S.
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Dave,

I have not had good luck using the GUI with parameters for mapkeys. I usually use a mapkey to set the UI to the old parameter UI style - do whatever adds, updates, deletes and then switch back to the new parameter UI. This gives you normal readable mapkeys. Here are the mapkeys I use to switch the interface (courtesy of Olaf's OCUS)

! Setup parameters using Old UI via config.pro file
! #advanced added for layout menu
mapkey sui.un @MAPKEY_LABELTurn New Parameter UI Off ;\
mapkey(continued) @MAPKEY_NAMETurn New Parameter UI Off (mapkey sui.un);\
mapkey(continued) ~ Command `ProCmdUtilPref` ;~ Activate `preferences` `Open`;\
mapkey(continued) ~ Update `file_open` `Inputname` `I:\PE EASPDM\cad_std\configs\new_parameter_ui-no.pro`;\
mapkey(continued) ~ Activate `file_open` `Open`;~ Activate `preferences` `ok`;\
mapkey(continued) ~ Activate `preferences` `Close`;
mapkey sui.uy @MAPKEY_LABELTurn New Parameter UI On ;\
mapkey(continued) @MAPKEY_NAMETurn New Parameter UI On (mapkey sui.uy);%dr;%dr;\
mapkey(continued) ~ Command `ProCmdUtilPref` ;~ Activate `preferences` `Open`;\
mapkey(continued) ~ Update `file_open` `Inputname` `I:\PE EASPDM\cad_std\configs\new_parameter_ui-yes.pro`;\
mapkey(continued) ~ Activate `file_open` `Open`;~ Activate `preferences` `ok`;\
mapkey(continued) ~ Activate `preferences` `Close`;

Where the two .pro files are either:

new_parameter_ui_no.pro
new_parameter_ui NO

new_parameter_ui_yes.pro
new_parameter_ui YES

Jeff Zemsky

  • -

Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.