Mapkey failing - No palette found for command
I have a mapkey which is failing at odd times with the following error
m error: Invalid trail file line : No palette found for command 'ProCmdViewShow' in context 'context_main_dlg_w1'.
I had been using it to toggle hide/show off a feature. It seems to work for a time and then start to fail with the above error. It was originally written for Creo 3 but the map key then started to result in Creo 4 crashing. I have reformatted the mapkey several times and the best I can now do is arrange for the functionality to work almost consistently with individual mapkeys and but fail quite regularly when put into a standard toggle version.
The visual effect is that the feature [in a hidden] state will not show. Currently I haven't seen the situation where the corresponding 'ProCmdViewHide' command fails.
I see another user had a similar error in WF4, but there didn't seem to be any solution apart from switching off the error notification. Has anyone seen similar errors and is there a simple solution which I am overlooking?
Currently working on Creo4 M020 - Academic License - Windows 7 - I3 - 8GB - NVidia GT520
Very Many Thanks

