I'm trying to select UV shells by index and then run some code and then select the next UV shell and run that same code, etc. Imagine if you wanted to scale each UV shell by 50%, that's not what I need to do, but if I could figure out how to select each shell one at a time in the script that would solve my problem. Is this…
Okay got it working. Here is the code, just replace the polyEditUV line with whatever custom code you want to run on selected UV shells. ConvertSelectionToUVShell; $shellUVs = `ls -sl`; $findShells = `texGetShells`; $numbShells = `size $findShells`; $shellIndex = 0; for ($item = 0; $item < $numbShells; ++$item) { select…
Update, someone from the Autodesk forum was able to figure out how to convert the first shell in the array so you can select it, now I need to work on storing each shell into it's own array to loop through and run my code on which I think I know how to do using the size command and a counter. Will report back if I get it…