Hi JBFJR, thanks for your post. Just one more question though, do you have or know where to get more info on writing map key code? ie: something with the code explantion.
You can edit the Mapkey codes in any text editor. Open your .pro file and edit using Wordpad or Notepad.
Create simple mapkeys using the mapkey interface in Pro/E. Write the mapkey to a file and try to make sense of the commands used. Mapkeys that are executed without screen picks or dbmenu picks are must easier. I am referring to picks only made in the Menu Manager menus.
Just type each menu pick after the "#" character and separate each command with a ";" character.
-------------------------------
For example if you want to create a mapkey to start the creation of a revolved protrusion the code would go something like:
mapkey cr @MAPKEY_NAMECreate rev protr;@MAPKEY_LABELRevolve;mapkey(continued) #Feature;#Create;#Protrusion;#Revolve;
This should bring you to the prompt "one side or both".
You can also nest mapkeys up to (i think) 6 levels. Nested mapkeys are preceded with a % instead of a #.
! The following mapkeys will enable "qq" to quit any command
! and bring you to the first menu.
MAPKEY q1 #done/return;#done/return;#done/return;#done/return;
MAPKEY q2 #return;#return;#return;#return;
MAPKEY q3 #Done-return;#Done-return;#Done-return;#Done-return;
MAPKEY q4 #Done sel;#Done sel;#Done sel;#done;#done;#done;#done;
MAPKEY q5 #quit refs;#quit del/sup;
MAPKEY q6 #done;#quit;#done;#quit;#confirm;#done/return;#done;#done;
MAPKEY q7 #done;#quit;#confirm;#done/return;#done;#done;
MAPKEY qq %q1;%q2;%q3;%q4;%q5;%q6;%q7;
I start most of my mapkeys with %qq so they will work from anywhere in the menu structure.
Previous versions of Pro/E mainly used the right-hand menus, so the mapkey lists were like this:
mapkey(continued) #TABLE;#REPEAT REGION;#FIX INDEX;
Nowadays, most commands use drop-down menus or dialog boxes, so the mapkeys are harder to edit, eg:
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `View`;
I usually record the mapkey by using menus, etc, then customise it later with a text editor.