Skip to main content
7-Bedrock
September 16, 2020
Solved

2 letter mapkey not work when first leter is same

  • September 16, 2020
  • 3 replies
  • 2786 views

Hi,

 

i record some mapkey for measurement tool.

mapkey m @MAPKEY_LABELMeasure summary;~ Command `ProCmdNmdTool` 1;
mapkey ml @MAPKEY_LABELmeasure length;~ Command `ProCmdNaMeasureLength`;
mapkey md @MAPKEY_LABELmeasure distance;~ Command `ProCmdNaMeasureDistance`;
mapkey mc @MAPKEY_LABELmeasure cycle;~ Command `ProCmdNaMeasureDiameter`;
mapkey ma @MAPKEY_LABELmeasure area;~ Command `ProCmdNaMeasureArea`;
mapkey mv @MAPKEY_LABELmeasure volume;~ Command `ProCmdNaMeasureVolume`;

 

m works fine, it can acticated anytime.

But when i use ml, or md, the comand always goes to m.

Looks like two letters doesn't work.

Best answer by BenLoosli

Two letter mapkeys work fine.

Your problem is that when you press the M it triggers the single letter 'm' mapkey every time.

Rename your mapkeys!

This is not a new problem, it has always been there.

3 replies

BenLoosli23-Emerald IIIAnswer
23-Emerald III
September 16, 2020

Two letter mapkeys work fine.

Your problem is that when you press the M it triggers the single letter 'm' mapkey every time.

Rename your mapkeys!

This is not a new problem, it has always been there.

16-Pearl
September 16, 2020

Hi, 

 

The issue here is that you have a mapkey "m". One letter mapkeys are normally frowned upon because they are prone to breaking other mapkeys. In your case, any mapkey that starts with the letter m will be broken by your single character mapkey. The m mapkey will always run before you type the second character. 

 

We try to make all of our mapkey sequences at least 3 characters for this reason. 

 

Ty

Dale_Rosema
23-Emerald III
23-Emerald III
September 16, 2020

Today you also have to be aware of the "special" keys that Creo puts into the software like "S" for sketch. Therefor any mapkeys starting with "S" are subject to fail.

 

See this discussion:

https://community.ptc.com/t5/System-Administration/Mapkey-Shortcut-Key-conflicts/m-p/568901

 

Hope this helps.

16-Pearl
September 16, 2020

Or just turn off all the keyboard shortcuts lol...

 

I really don't like the customization.ui file concept. I like to be able to edit things just like we can edit config.pro files. It's impossible to tell what is being saved into the customization file. It's also too easy to mess up. 

Dale_Rosema
23-Emerald III
23-Emerald III
September 16, 2020

I am not really customizing, but trying to avoid the conflicts that Creo puts in as "Standard".