edit map key code
edit map key code
(OP)
How do you directly edit map key code, instead of creating each step through the map key front end tool?
Thanks in advance.
Thanks in advance.
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: edit map key code
Here is my mapkey to create PDF files
mapkey $F3 @MAPKEY_NAMEMake PDF;@MAPKEY_LABELPDF File;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;~ Activate `main_dlg_cur` `File.psh_print`;\
mapkey(continued) ~ Select `print` `CascadeButton1`;~ Close `print` `CascadeButton1`;\
mapkey(continued) ~ Activate `print` `pdf995`;~ Activate `print` `OK`;
You will need to have pdf 995 installed for it to run.
JOSE FIGUEROA JR.
RE: edit map key code
Thanks in advance.
RE: edit map key code
and items inside of 'menu pick' is a menu pick button.
After that it is trial and error.
If you do find a list of commands for and editor please post.
JOSE FIGUEROA JR.
RE: edit map key code
Rgds
Matt.
RE: edit map key code
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".
RE: edit map key code
! 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.
RE: edit map key code
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.
A couple of hints for creating mapkeys:
http://www.cadmin.co.uk/proehelp/index.html?admin.htm#m...