WIP code idea for sorting objects in place global proc reorderinPlace(){ string $unsortList[]=`ls -sl`; string $sortList[]= `sort($unsortList)`; if (`gmatch $unsortlist "*[0-9]"`) //To check if object has number suffix { warning "please rename object with number suffix"; break; //exit procedure if there is no number suffix…
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…
thanks passerby new question: is it possible to find where a node is located in Outliner, like the number order? I have search through all the maya command reference and have found nothing in regards to that.
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"…