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