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.

combing mapkeys

ice8

New member
currently i have a mapkey that exits all the way through while im sketching from a protrusion i also have one that exits out from a sketch.


problem is one does not work for the other. is there a way to edit my config.pro to make it do both no matter what feature i am in?


i have tried copying form into the other and it does not work that way


current mapkey


mapkey mm @MAPKEY_LABELexit all;~ Activate `GET SELECT` `quit_sel`;\


mapkey(continued) ~ Activate `references` `Close`;~ FocusIn `UI Message Dialog` `no`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdSketQuit.sket_r`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `Odui_Dlg_00` `stdbtn_2`;~ FocusIn `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `UI Message Dialog` `yes`;


!=========================================================== ================


mapkey m, @MAPKEY_LABELexit all;~ Activate `GET SELECT` `quit_sel`;\


mapkey(continued) ~ Activate `references` `Close`;~ FocusIn `UI Message Dialog` `no`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdSketQuit.sket_r`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `Odui_Dlg_01` `stdbtn_2`;~ FocusIn `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `UI Message Dialog` `yes`;~ Enter `main_dlg_cur` `dashInst0.Quit`;\


mapkey(continued) ~ Activate `main_dlg_cur` `dashInst0.Quit`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;
Edited by: ice8
 
Do you use a brush or a regular comb to comb your mapkeys?
smiley36.gif



I dont think there is an easy way to do what you want. I know that this is not as big of a problem in WF 3.0. They have reduced some of the menus to exit out of sketcher via extrude or sketch. I would think you would have the best posibility of running the extrude exit out for both situations. Maybe you could tweak the mapkeys a little to get that to work.
 
I just did what you are looking for. The problem is the location of the cancel button in the sketch box. I am attaching the mapkey I am using. I have wf2 m250. Notice I just added another line with a different value for Odui_Dlg_00` `stdbtn_2. The mapkey will just skip over which ever value does not apply. This will now work for both.


mapkey q/sket @MAPKEY_NAMEquit out of sketcher;@MAPKEY_LABELquit sketcher;\


mapkey(continued) ~ Command `ProCmdSketQuit` ;~ FocusIn `UI Message Dialog` `yes`;\


mapkey(continued) ~ Activate `UI Message Dialog` `yes`;~ Activate `Odui_Dlg_01` `stdbtn_2`;\


mapkey(continued) ~ Activate `Odui_Dlg_00` `stdbtn_2`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;\


mapkey(continued) ~ Enter `main_dlg_cur` `dashInst0.Quit`;\


mapkey(continued) ~ Activate `main_dlg_cur` `dashInst0.Quit`;\


mapkey(continued) ~ FocusIn `UI Message Dialog` `yes`;~ Activate `UI Message Dialog` `yes`;
 

Sponsor

Back
Top