algorithmic modeling for Rhino
Hi,
I'm trying to add an icon image to a toolbar(ribbon) for some custom tools that I'm making.
I'm displaying tab names as icons with growing number of plugin tabs, and it's really helpful to see image icons to differentiate different plugins as circled in red below.
Can someone let me know how to use images for tab icons instead of letters?
Thank you!
Dongyeop
Tags:
You can register those at any time by calling the AddCategoryShortName, AddCategorySymbolName and AddCategoryIcon. These methods can all be found on Grasshopper.Instances.ComponentServer.
A good place to call these methods would be in a class which inherits from GH_AssemblyPriority. Such classes are always loaded before any other classes in a GHA.
Thanks for your kind reply David.
I was looking for a way to add an icon image in Grasshopper interface, because I was simply making a custom toolbar using clusters without using C#.
It sounds like there's no way to do this within Grasshopper interface.
Yep, there's no way to do that without writing code.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by