I set F4 to toggle the Gumball on and off like this:
noecho -_Gumball _Toggle
During a recent project I realized it would be amazing if this command or macro did not occur in the command history. Noecho keeps it from appearing in the command line, but what would be really useful was a way to execute this keyboard shortcut while another command is at use.
For example you’re drawing a bunch of lines and after two lines you decide to move one of them or just an endpoint with the gumball. F4 to switch on gumball, drag… The next right click will switch off the gumball. This is not efficient. The right click should recall the line command.
I’d want the keyboard shortcut to work the exact same way as if I would click the gumball button in the status bar. Is that possible?
Worth mentioning here is also that in Rhino 5 I had this noecho -_Gumball _Toggle command on button 4 of my Space Mouse. It worked as expected. With the new implementation of 3D connexion in Rhino 6, everything has to be set from within the 3D Connexion preferences. I have not yet figured out how to set a Rhino command macro as I had in Rhino 5. Maybe someone can explain.
I have huge respect for everyone involved in programming at McNeel / Rhino. But this week has been a bit too much of wondering why and testing of commands on my side.
I hope someone can help me and everyone else with the same problems.