PDA

View Full Version : uvlink syntax


leith
08-19-2006, 07:44 PM
Hi,

I've only recently returned to maya and am a tad rusty.

Can anyone explain why this code works:

uvLink -make -uvSet pCubeShape1.uvSet[0].uvSetName -texture occlusionTexture2;

But, this code does not?


string $uvs = `getAttr pCubeShape1.uvSet[0].uvSetName`;
uvLink -make -uvSet $uvs -texture occlusionTexture2

This implies that passing "pCubeShape1.uvSet[0].uvSetName is infact not a string. what would it be? Or perhaps the uvSet command is doing something odd? I'm somewhat vexxed by this. thanks for any help.

-brad

CGTalk Moderation
08-19-2006, 07:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.