Sorry if I was not clear, well when I do it on the node it works fine 
individually.

Is there a way where all inputs and outputs are hidden automatically rather 
than on selection?

D.

On Tuesday, February 24, 2015 at 4:23:53 PM UTC+1, Marcus Ottosson wrote:
>
> Sorry, not sure I’m understanding you. This will hide a specific *node* 
> from the channel box. It the node is connected to the output of a 
> particular node, or input shouldn’t make much difference.
>
> What I typically do is just look through a selection of nodes and set 
> their attribute accordingly.
>
> from maya import cmdsfor node in cmds.ls(sl=True):
>     cmds.setAttr(node + ".ihi", 0)
>
> That way you can graph it, in say the hypershade, select it and hide it 
> that way. The hypershade will then also make it apparent which nodes are 
> part of a output or input.​
> ​
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9e53675a-5332-4b36-9251-161b6af4cfa9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to