define the radioButtonGrp with the -select flag with the number of the radio button you want selected. or run the radioButtonGrp command in edit mode and use the -select flag if you want to do it after the control is defined. radioButtonGrp -numberOfRadioButtons 2 -select 1 -label "Select type" -labelArray2 "InsideGroup"…
another question, this time is in regards to setting the default RadioButtonGrp pressed glboal proc resortNum(){ string $sel[] = sort(`ls -sl`); for ($eachNode in $sel) { reorder -b $eachNode; }}global proc resortName()////This bottom portion with the promptDialog is sampled from another site////{ string $text; string…
button -label "Reorder base on Selection"; -command "resortSel;"; After "Reorder base on Selection" you have a semicolon. Therefore maya doesn't recognize the following line as a member of the button setting definition. You should display the line number of the errors in your script editor, this would help you find the…