Mapkey Toggle Grid (HIDE Grid / SHOW Grid)
Hey guys, I'm on Creo Parametric 6.0 and I created 2 mapkeys to turn on/off a grid for any .drw files and I would like to know if it's possible to create a toggle in order to have only 1 mapkey for both the actions.
I saw that when you have 1 for on and 0 for off, you could remove the number to create the toggle but here we have #SHOW GRID or #HIDE GRID.
The 2 mapkeys are as follows :
mapkey(continued) ~ Activate `main_dlg_cur` `page_Sketch_control_btn` 1;\
mapkey(continued) ~ Command `ProCmdDwgDraftGrid` ;#GRID PARAMS;#X&Y SPACING;15;#DONE/RETURN;\
mapkey(continued) #HIDE GRID;~ Command `ProCmdObjActUI` 1;
mapkey(continued) ~ Activate `main_dlg_cur` `page_Sketch_control_btn` 1;\
mapkey(continued) ~ Command `ProCmdDwgDraftGrid` ;#GRID PARAMS;#X&Y SPACING;15;#DONE/RETURN;\
mapkey(continued) #SHOW GRID;~ Command `ProCmdObjActUI` 1;
Thank you in advance.

