is it possible to add commands (New File, Undo, Redo,…) to the toolbar?
Through the UI, no. Through code, yes.
Could you give an example, please?
Thanks in advance.
add a button.gh (2.6 KB)
It’s not pretty, but it works. You can use a similar approach to add items to the menu.
Now, I’ll have to figure out how to remove them
Hi guys, I find this topic interesting.
Sometimes I’m feeling lazy using mouse whenever I’m doing GH scripting and I want to use just a touch pad. But unfortunately, there is no available (navigate toolbar) available in GH that is directly accessible in the canvass. There is the way to access it through right-click menu but is there a way to add a toolbar in the canvass for convenience?
I wanted this example for a button out of curioity. I really do not think placing buttons all around will do you any good. In Rhino, yes. There you can get by using a few commands each day. But in Grasshopper you need wide variety of them. You cannot place them all as toolbars because you won’t see the canvas. You can however create your own tab and fill it with variety of buttons from all over. Arranging them in groups as you wish.