Mapkey toggeling in Creo 12
Hi
Since Creo 4 we're using toggling mapkeys.
Starting with Creo 12 the loading of mapkeys has change and is no longer possible.
Erros message from executing a toggling mapkey
Any hints how our existing mapkeys could be modified?
Thanks,
Ziegi
---
Example from a config.pro file
! ------------------------------------------------------------
! Show Curves on/off | F9
! ------------------------------------------------------------
!
mapkey $F9 @MAPKEY_LABELcurves On/Off (F9);~ Command `ProCmdViewLyrs` 1;\
mapkey(continued) ~ Select `main_dlg_cur` `PHTLeft.PHLayerUI.AssyTree` 1 `node0:CURVES`;\
mapkey(continued) %_F9toggle; %_F9load;~ Command `ProCmdViewLyrs` 0;\
mapkey(continued) ~ Command `ProCmdViewRepaint`;
! Additional Mapkeys to enable toggeling function of "main mapkey" F9
mapkey _F9toggle ~ Command `ProCmdViewHide`; %_F9_s1;
mapkey _F9_s1 @SYSTEMEcho mapkey _F9toggle \~ Command `ProCmdViewShow`\;\
mapkey(continued) \%_F9_s0\; > sw.pro\;;
mapkey _F9_s0 @SYSTEMEcho mapkey _F9toggle \~ Command `ProCmdViewHide`\;\
mapkey(continued) \%_F9_s1\; > sw.pro\;;
mapkey _F9load @MAPKEY_NAMEload mapkey;~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
mapkey(continued) ~ Activate `file_open` `Current Dir`;\
mapkey(continued) ~ Activate `file_open` `Ph_list.Filelist` 1 `sw.pro`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`; @SYSTEMDel sw.pro;
!

