How does one set a component alias to those components that are only available from the dropdown list? Such as, for instance, points trim curve in Pufferfish? Once there are too many components in a tab, there is no way to expose all components in the ribbon and you can’t right-click them to set the alias.
Even with Obscure Components checked, there are still some components that remain hidden. For instance, there are 22 items in the curve tab, whereas there are 55 in the curve dropdown window.
That is with the toolbar at its maximum size.
I’m not sure if a standard way exists to set aliases for these hidden components.
But you can find and edit aliases from the grasshopper settings folder/grasshopper_aliases.xml or %AppData%\Grasshopper\grasshopper_aliases.xml.
To add an alias for a component you need to know its Guid.
Here I wrote two small scripts, one for getting all aliases, and the other for adding or removing aliases:
Aliases.gh (22.1 KB)
I think this is a rather an exclusive Pufferfish issue. The author decided not to combine/generalize similar functionality and already offers a very wide range of functionality. Now its at a point where it breaks the intention of being a single plugin. If those issue will keep, maybe the plugin should be divided into multiple ones or should be more generic. I mean a lot of components just vary by the input type… But anyway its of course up to the developer
From the looks of it the issue is in that there are so many tabs that they don’t have the space to expand horizontally in the interface.
@Mahdiyar The script is amazing, also for me to check the assigned aliases.
Thanks a lot, I immediately saved it for future use!
„From the looks of it the issue is in that there are so many tabs that they don’t have the space to expand horizontally in the interface.“
… or having more components as required to do the job. Workaround a workaround a workaround. This is dumb, i just regret to have written again.