Does anyone know how to initialize the selection of a scriptMenuStripRadio item in a custom menu? I'm able to create it, and use the variableValues from it just fine, but when first opening the menu, none of the radio items are selected. I can't seem to find anything obvious in the docs [www.sidefx.com], and the built-in menus seem to do it magically*.
Side note - the same applied for setting scriptToggleItems to start enabled (1).
Thanks!
Edit: * from MainMenuMPlay.xml:
<menuStripRadio id = "anim_loop">
<value>loop.val</value>
<radioItem id = "loop"> <label>Loop</label></radioItem>
<radioItem id = "once"> <label>Play Once</label></radioItem>
<radioItem id = "zigzag"><label>Zig-Zag</label></radioItem>
loop.val