Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapkey clutter 1

Status
Not open for further replies.

cadmunky69

Industrial
Nov 28, 2006
27
i know it's out there somewhere. i saw a short guide on reducing un-needed clutter in mapkey definitions for the wildfire* syntax. just trying to reduce my 15 page config.pro. =(

Ed Lee
Sr. Designer
H2Gen
Alexandria, VA
 
Replies continue below

Recommended for you

I saw something like what you're talking about, but I can't remember where it was. In general, you can typically trim out some of the drop-down selection instructions. Here's an example:
BEFORE:
mapkey mm @MAPKEY_LABELmeasure;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Analysis`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Analysis.psh_analysis_measure`;\
mapkey(continued) ~ Open `measure` `MsrTypeOptions`;~ Close `measure` `MsrTypeOptions`;\
mapkey(continued) ~ Select `measure` `MsrTypeOptions`1 `Distance`;

AFTER:
mapkey mm @MAPKEY_LABELmeasure;\
mapkey(continued) ~ Activate `main_dlg_cur` `Analysis.psh_analysis_measure`;\
mapkey(continued) ~ Open `measure` `MsrTypeOptions`;~ Close `measure` `MsrTypeOptions`;\
mapkey(continued) ~ Select `measure` `MsrTypeOptions`1 `Distance`;

These two lines are basically recording the fact you clicked the 'Analysis' dropdown, but the real command is the 'Analysis.psh_analysis_measure'.
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Analysis`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\

<tg>
 
I think what you want is this config option:

cmdmgr_trail_output YES

However, you will have to remake all your mapkeys.
 
that's the one! thanks TG.

dgallup, what effect does that switch have exactly? i'll play with it anyway, just want to be aware of any adverse effects.

Ed Lee
Sr. Designer
H2Gen
Alexandria, VA
 
I believe it automatically leaves out the unnecessary UI BS when you create a mapkey or trail file. Makes them run faster with less chance of failure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor