SDK - Remove input from GH_Param<T>


I am developing some custom components for GH and, well, SDK documentation is limited.
I am trying to make a custom component that inherits from GH_Param. I already have most of my test functionality working but there is one thing I have no idea how to accomplish:
How do you remove the input link from a parameter component?

I just want it to not accept an input, much like the default inputs from GH.

Thank you for you assistance!

In your

protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)

method, don’t register any inputs. Just leave it blank.

You need custom attributes and override HasInputGrip to false.