UV Chooser Automation

UsersManuel
Participant
Participant

UV Chooser Automation

UsersManuel
Participant
Participant

Hello,
i try to extend our shading workflow with the possibility to use several uvSets. I want to add an attribute to the texture with a name like "expectedUvSet" with a value like "pattern". If the mesh have a uvSet with the name "pattern" i want to connect it.

To connect the UVchooser Node is pretty messy. Is there a easy way to do this? In the relationship editor it is pretty easy to connect texture and uvSet. So is it possible highjack some of that code? Or is another method outthere i am not aware of?


Cheers,
Manuel

0 Likes
Reply
307 Views
1 Reply
Reply (1)

Kahylan
Advisor
Advisor

Hi!

 

I think what you are looking for is the uvLink command.

 

Here's the python documentation:

 

https://download.autodesk.com/us/maya/2010help/CommandsPython/uvLink.html

 

I hope this helps!

0 Likes