Question
mapkeys for multiple modes
Anyone know of another way to do this?
Orginally I created mapkeys like this:
mapkey af @MAPKEY_LABELAll Datums Off;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 0;\
mapkey ao @MAPKEY_LABELAll Datums On;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 1;\
You will notice hi-lited in yellow it shows the Mode that you are in when you recorded the mapkey. It will not work in other modes.
The fix requires adding additional lines so this works in part, assy, and drawing modes. I'd prefer not to have to do this. I'd like the mapkey to work in any mode. Any ideas?
mapkey af @MAPKEY_LABELAll Datums Off;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 0;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh396938342.proe_win|.mcs29658718_mp|select_\
all_check` 0;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win|.mcs29658718_mp|select_\
all_check` 0;
mapkey ao @MAPKEY_LABELAll Datums On;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 1;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh396938342.proe_win|.mcs29658718_mp|select_\
all_check` 1;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win|.mcs29658718_mp|select_\
all_check` 1;
David Haigh
Phone: 925-424-3931
Fax: 925-423-7496
Lawrence Livermore National Lab
7000 East Ave, L-362
Livermore, CA 94550
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Orginally I created mapkeys like this:
mapkey af @MAPKEY_LABELAll Datums Off;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 0;\
mapkey ao @MAPKEY_LABELAll Datums On;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 1;\
You will notice hi-lited in yellow it shows the Mode that you are in when you recorded the mapkey. It will not work in other modes.
The fix requires adding additional lines so this works in part, assy, and drawing modes. I'd prefer not to have to do this. I'd like the mapkey to work in any mode. Any ideas?
mapkey af @MAPKEY_LABELAll Datums Off;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 0;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh396938342.proe_win|.mcs29658718_mp|select_\
all_check` 0;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win|.mcs29658718_mp|select_\
all_check` 0;
mapkey ao @MAPKEY_LABELAll Datums On;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_\
all_check` 1;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh396938342.proe_win|.mcs29658718_mp|select_\
all_check` 1;\
~ Activate `main_dlg_cur` \
`igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win|.mcs29658718_mp|select_\
all_check` 1;
David Haigh
Phone: 925-424-3931
Fax: 925-423-7496
Lawrence Livermore National Lab
7000 East Ave, L-362
Livermore, CA 94550
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

