Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Mapkey interpretation "Command `ProCmdXXX

ralexy

New member
I can see what mapkey:


mapkey(continued) ~ Command `ProCmdViewRepaint` ;


is the same what mapkey:


mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `View`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `View.psh_view_repaint`;


Is there any way to know the "ProCmd" commands?


For example what "ProCmd" is for mapkey:
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Format`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Format.psh_fmt_edit_text_style`;\
 
ProCmd commands aren't, as far as I know, documented anywhere. But you can use a little trick. Execute the command, you want to know e.g. #View #Repaint and then open trail file in Notepad. There you will have the line with the Repaint command, which you can then paste into the "mapkey (continued)" line as in your first example.
 
Thanks skraba for your answer but doesn't work. For commands View > Repaint in my trail file is record:


~ Select `main_dlg_cur` `MenuBar1` \
1 `View`
~ Close `main_dlg_cur` `MenuBar1`
~ Activate `main_dlg_cur` `View.psh_view_repaint`
 
In WF2, the trail file for #View #Repaint command states the following:


~ Command `ProCmdViewRepaint`



So, you would write the mapkey like the following:


mapkey(continued) ~ Command `ProCmdViewRepaint`;
 
ralexy


you need to have this command in the config file set to 'yes'


cmdmgr_trail_output yes


I couldn't see the ~ Command 'ProCmdViewRepaint' in my trail files either until I changed my config.
 

Sponsor

Articles From 3DCAD World

Back
Top