How to set an icon on my custom datatype of parameter?

Hello,

My custom datatype in a following image, named as “Filer Object”, was made while my reference to this article.
I want to set an icon so that it appears on my following mouse cursor.


Does anyone know how to do?

Thanks.

Hi @giu,

I believe you can access the icon of the parameter via,

myComponent.Parameters.Input[0].Icon_24x24

I believe your component is of type GH_ActiveObject. So if you override this method(for creation of the input parameter), you should be able to add your own icon.

HTH

~ ~ ~ ~ ~ ~ ~ ~
Kaushik LS
Kleve, DE