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
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
