Hi.
it is great to know node.ihi attribute, as pre this we can all inputs and 
outputs at once. example make a poly sphere set it shape node's ihi to 0, 
it stops all inputs, outputs visibility in channel box. 

Thanks,
Rajubuddha. 

On Tuesday, 24 February 2015 20:58:09 UTC+5:30, Dilen Shah wrote:
>
> 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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9b006a30-5d21-46d5-98ca-811dd66bee00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to