Thanks for the reply
Yeah ive used this to but i need a bit more of a base... for instance on this:
connectInput(self, i, node)
Connect the output of 'node' to the i'th input or the next available
unconnected input. The requested input is tried first, but if it is already set
then subsequent inputs are tried until an unconnected one is found, as when you
drop a connection arrow onto a node in the GUI.
Parameters:
i - Input number to try first.
node - The node to connect to input i.
Returns: bool
True if a connection is made, False otherwise.
Im trying to discern how i would go about connecting that to all my selected
cards. Its the mixing of codes.. for isntance i know i can do:
nuke.selectedNode().connectInput()
and i know i can do
nuke.selectedNodes()
But i dont know how i would mix the two and do something like (and i know thi
si CLEARLY not python syntaxing, but its to make my point)
nuke.allNodes("Scene6").connectInput(nuke.selectedNodes())
if you understand what i mean.
could you give me a clue. My python is weird.. i can write some pretty cool
tools, but sometimes i jsut cant solve making two commands i have in mind
congeal to do what i want
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python