Is there a way to listConnections and only return shaders? Or 2d textures? I know I can specify an exact type like 'surfaceShader', but can I do something like 'material', or 'shader'? Or do I just have to get all the connections and filter them afterwards?
Desired use would be something like: cmds.listConnections(sg, d=False, type='shader/surface') -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
