Code: Select all
By using shortcuts manager (provided by ShortCuts module for FreeCAD) you can assign the same (local) shortcut to commands located in different workbenches. Therefore you can for example use shortcut "A" in more workbenches (once per each workbench). And in each workbench a different command can be triggered.
This are two separate commands and therefore you can't assign the same (global) shortcut to both. This is not FreeCAD specific as this is just how software in general works. What you would need is a toggle command. And to assign a global shortcut to it. Likely a macro based command could be created. To offer such functionality. If you are interested let me know and i can take a look.I.e. to toggle switch between Ortho and Persp mode?