Korinkite
11-17-2011, 04:00 AM
It seems like it'd be a simple solution but I'm new to MEL so I wouldn't know exactly how/where to search for this solution. Please direct me if there are forums that I overlooked.
I have a script that makes a bunch of file nodes - whose name I define always starting with the number 1. I also define the end number. So name1 name2 name3 - if I called the files" name" and asked for three of them - and so on.
I need to select all of these name files at once so that I can use a for loop to connect each of the object's outColor to a plusMinusAverage's input3D node. I understand the concept of the for loop for doing that but most tutorials I've found assume that you have something selected in a string. In my case, I have nothing selected and need to select all of these files by name and differing numbers alone. How might I do this?
I have a script that makes a bunch of file nodes - whose name I define always starting with the number 1. I also define the end number. So name1 name2 name3 - if I called the files" name" and asked for three of them - and so on.
I need to select all of these name files at once so that I can use a for loop to connect each of the object's outColor to a plusMinusAverage's input3D node. I understand the concept of the for loop for doing that but most tutorials I've found assume that you have something selected in a string. In my case, I have nothing selected and need to select all of these files by name and differing numbers alone. How might I do this?
