If you could find a way to select them, without the hypershade, then I
would suggest opening up the hypershade with just the Work Area and hit
add to graph.
In Python, you could select via filter by doing something like
from maya import cmds
cmds.select(deselect=True)
for sel in
There is a node that all shaders are connected to defaultShaderList1.
It's this node that when you type ls -mat the connections are returned
from (you could connect any node to this and it would be returned as a
material). It's also this node that is used to show the materials in the
hypershade
Thanks for the response! Will keep it in mind if I ever need to do this
again...
On Jan 24, 2014 1:27 PM, Emre Tekinalp e.tekin...@gmx.de wrote:
Hey calin!
If you are still searching for an answer here is the solution: