Automated unwrapping of multiple objects using scripting
I have a quick question, that hopefully someone on here can help me with. I have a lot of small objects that I would like to unwrap (250 or so) using a standard spherical unwrap, and I want to create a script that would do it for me. The pieces are labeled "polySurface383" through "polySurface572".
The biggest problem I'm having is after getting the script to select an object is how to get it to unwrap it, mainly with some unique selection Maya does (look at the second line):
1| select r- polySurface383;
2| select r- polySurface383.f[0:119];
3| polyProjection -ch 1 -type Spherical -ibd on -sf on polySurface383.f[0:119];
Any help would be appreciated. Thanks all!
Death is certain, Life is not.