mecha
01-03-2008, 07:39 PM
Hey All,
I want to create a "for" loop which will do its thing, no problem....
for ($i=1; $i<=10 ; $i++){
blah, blah, blah;
}
...but, how would I replace the number 10 with the number of objects I have selected?
Basically, I want to know how to return a integer representing the number of selected objects. Any ideas? The closest I got was using stringArrayCount, but its not what I need.
Any help would be greatly appreciated, im sure this is an easy one - im learning MEL.
mecha
I want to create a "for" loop which will do its thing, no problem....
for ($i=1; $i<=10 ; $i++){
blah, blah, blah;
}
...but, how would I replace the number 10 with the number of objects I have selected?
Basically, I want to know how to return a integer representing the number of selected objects. Any ideas? The closest I got was using stringArrayCount, but its not what I need.
Any help would be greatly appreciated, im sure this is an easy one - im learning MEL.
mecha
