David and I talked about starting this discussion, and I was going to wait until a more convenient time for him, but this topic came up again in a separate task today, so I'm getting a head start. (Apologies to David. If you are too busy for the next couple weeks, I can wait for your guidance.)
I'm hoping someone might be able to give me a hint about what direction to start looking, or what SDK/classes to look at in order to do this, but basically I want to add options to the menu that pops up on a component when you right-click on it.
There's a few different components I'd like to use this for, but for now, I'd like to make a component that can be used to input rhino geometry in nearly the same way as one can currently use the different input parameters. I want to be able to right click on the component and then wait for the user to select geometry. Once the geometry is chosen, this component would output a list of user strings attached to each geometry, as well as the geometry itself. I already know how to get user input, and to bring the geometry and user strings into grasshopper, I just don't know how to add this functionality to the right-click menu of the component.
Thanks for any help. If someone just wants to point me in the right direction, I'll dive into it, teach myself, and post progress as I go.