It would be cool if the Panel CHOP radio parameter could return -1 if no radio button is selected.
Currently no radio selected == first radio button selected.
It would be cool if the Panel CHOP radio parameter could return -1 if no radio button is selected.
Currently no radio selected == first radio button selected.
Try setting your button types to “Exclusive” instead of “Radio”. How did you get a group of radio buttons to have none “clicked” in the first place? I guess when you first put them down…
‘Exclusive’ is not exactly what I’m looking for. I don’t wan’t the user to be able to unclick a radio group. I want the radio group to be unclicked in a ‘cue reset’ sceniario.
you can unclick any button using python(1 - clicks button, 0 - unclicks button) :
op(‘radio_button’).click(0)
As a work around you can always include another button and set its display to off. You can still technically interact with this button and get a radio return that’s valid it just doesn’t show up in your displayed UI. That’s a little awkward, but might get you there if it’s a feature you need now.
The extra radio button works nicely
a bit wierd, but gets the job done