Hi,
So the problem I have is that I have a piece of geometry that has 3 materials assigned to a range of faces in Maya. I’m using python btw. What I essentially want to do is query which range of faces are connected to each material and then assign a new material to that range of faces. I’ve tried running through the listConnections command in python when it comes to determining what is connected to the shadingEngine and it only returns the mesh that the shader is attached to. In the Hypershade, the shadingEngine node is connected to the mesh via object.instObjGroups[0].objectGroups[0] -> dagSetMembers[0] & object.instObjGroups[0].objectGroups[2] -> dagSetMembers[2] respectively, and if I had to wager a guess I’d say the range of faces are contained in their somewhere but how do I access that information? Anyone have any insights?