Hello How to add menu like this to Ghpython component (ghpy) input?
Hi,
I would try to create a child class from the Grasshopper.Kernel.Parameters.Param_ScriptVariable() class, and override the AppendAdditionalMenuItems() method.
Grasshopper.Kernel.Parameters.Param_ScriptVariable()
AppendAdditionalMenuItems()
It should be similar to how you would add items to a component level context menu.
Thanks @Kaushik Here a good example and another example of @piac. But unfortunately don’t show how to use the method with the input.
I tried with this but don’t work