I have a problem where I want to create new colorpickers based on a number I generate through my definition. I have managed to do this with number sliders in a C# script that I found here on the forum, so I would like a similar approach as in the definition provided.
My main problem is that I can’t find the class that I need in the API. In the create_sliders definition the Grasshopper.Kernel.Special.GH_NumberSlider class is used so I thought to look in a similar direction but can’t find the Grasshopper.Kernel.Special namespace in the API.
Any help in the right direction is much appreciated.
That works perfectly thanks, where did you find what the ColourPickerObject class is called?
Also could I find what properties and methods the class has somewhere?