I'm trying to write a mapkey to toggle the simulation display on and
off. I thought I remembered the trick to getting items to toggle as
being to remove the "1" in the recorded mapkey after the switch is
selected. So my recorded mapkey:
mapkey sd @MAPKEY_LABELsim display toggle;~ Command
`ProCmdViewSimDisplay` ;\
mapkey(continued) ~ Activate `sim_display` `MasterSwitchCheck`1 ;\
mapkey(continued) ~ Activate `sim_display` `AcceptPush`;
Becomes:
!mapkey sd @MAPKEY_LABELsim display toggle;~ Command
`ProCmdViewSimDisplay` ;\
!mapkey(continued) ~ Activate `sim_display` `MasterSwitchCheck` ;\
!mapkey(continued) ~ Activate `sim_display` `AcceptPush`;
But this isn't working? Odd, as other mapkeys I have like this seem to
toggle just fine, granted they are all OUTSIDE of Mechanica... Does
anyone remember this trick???
I realize this is a Mechanica thing but, it also applies to generic
modeling, so I thought I would have better response posting here. I
tried searching the forum, but couldn't find just the right words...
toggle... display... toggle mapkey all seemed either empty or too
generic...
thanks in advance...
Paul Korenkiewicz
FEV , Inc.
4554 Glenmeade
Auburn Hills, MI, 48326-1766