×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Mapkey clutter

Mapkey clutter

Mapkey clutter

(OP)
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

RE: Mapkey clutter

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>

RE: Mapkey clutter

I think what you want is this config option:

cmdmgr_trail_output YES

However, you will have to remake all your mapkeys.

RE: Mapkey clutter

I hate it when I know I've seen something but not sure where, because I always set out on a mission to find it.

Here's what I had seen on cleaning up mapkeys:
http://www.proefaq.com/?p=27

<tg>

RE: Mapkey clutter

(OP)
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

RE: Mapkey clutter

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources