Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / MEL / Default button selection on a radioCollection?
  RSS 2.0 ATOM  

Default button selection on a radioCollection?
Rate this thread
 
43230
 
Permlink of this thread  
avatar
  • Total Posts: 31
  • Joined: 08 January 2007 12:09 PM

Hi,

In the window below, I’d like to select the radio button “none” by default.  I tried using :

“radioCollection -sl 1;”

but am not having any luck. 

window;
rowLayout -numberOfColumns 3 -width 250;
radioCollection;
radioButton -label “None”;
radioButton -label “One”;
radioButton -label “Two”;
showWindow;

Any suggestions?  Much thanks!

Tony



Replies: 0
avatar
  • THNKR
  • Posted: 15 May 2010 12:16 AM

window;
rowLayout -numberOfColumns 3 -width 250;
    
radioCollection;
    
radioButton -sl -label "None";
    
radioButton -label "One";
    
radioButton -label "Two";
showWindow;


Replies: 0