Python Question

Hi just working on a quick python tool and have come up against a problem.

i am creating a shuffle node and then trying to set it’s in parameter to be a channel in an incoming exr called "lighting".

I am using the below code

nuke.nodes.Shuffle(in="lighting", postage_stamp=True).setInput(0, nuke.selectedNode())

but this doesn’t work as the "in"parameter is color coded green as it must be a universal python command.

If i use in2 it works for the second shuffle input, but that is of no use to me.

If anyone understands what i have just rambled on about let me know

thanks

No Responses to “Python Question”

Post a Comment