How to script 'BUTTON' on the component

You have to override the attributes of your component and do all the additional drawing/layout/mouse-handling there. It’s not easy, but there’s a small example in the Grasshopper SDK documentation (down via the GH Help menu).

1 Like