Problem with calling gh.Kernel.Special.GH_MultiDimSlider

Hi, I have this little script to set certain simple parameter input objects to faint wire style.

It works fine but it fails as soon as I include one of these types:

_MultiDimSlider,
_ColourPicker,
_ControlKnob,

I am not so well versed with coding, so maybe I am missing an “obvious” step here?

simpleParameter_WireStyle.gh (9.0 KB)

cheers,

Daniel

an indirect answer to your question, maybe have a look at WireHopper | Food4Rhino , code is on github and in comments there is another repo that has python implementation

Thanks! Interesting plugIn. I guess clean by parameter type might do what I need.

I try to not install more plugins, running out of menu space :sweat_smile:

Also I like that a script like this can be part of the definition itself.

as mention in the comments section someone made a python version.

cheers, I missed that detail. will have a look.

I had a look but the functionality is not quite what I am looking for.. I bashed the script by AI and the free version of Venice was clever enough to fix it. funny times.

so this basically sets the wires of all static parameter objects (sliders, MDsliders, Swatches, etc) to faint. (well, it looks if the downstream component has such an object type connected)

maybe its useful for some :slight_smile:

staticParameterWireStyle.gh (8.5 KB)